Click here to Skip to main content
15,915,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: BitBlt not working for printer Pin
faroqtam31-Oct-04 10:14
faroqtam31-Oct-04 10:14 
GeneralRe: BitBlt not working for printer Pin
Roger Allen1-Nov-04 3:06
Roger Allen1-Nov-04 3:06 
GeneralRe: BitBlt not working for printer Pin
Anorexic Tribble9-Nov-04 4:17
Anorexic Tribble9-Nov-04 4:17 
GeneralRe: BitBlt not working for printer Pin
Roger Allen9-Nov-04 4:25
Roger Allen9-Nov-04 4:25 
GeneralRe: BitBlt not working for printer Pin
Anorexic Tribble9-Nov-04 4:39
Anorexic Tribble9-Nov-04 4:39 
GeneralLinking C and C++ modules Pin
zelbazach30-Oct-04 21:56
zelbazach30-Oct-04 21:56 
GeneralRe: Linking C and C++ modules Pin
Christian Graus31-Oct-04 9:20
protectorChristian Graus31-Oct-04 9:20 
GeneralWindow Style Pin
Leyu30-Oct-04 20:57
Leyu30-Oct-04 20:57 
I Override The PreCreateWindow Func
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
cs.style = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX |WS_MAXIMIZEBOX|WS_MAXIMIZE;
return TRUE;
}

And I want The Restore Button To Be Disabled i Removed The WS_MAXIMIZEBOX style but the resulting window covers the task bar and i don't want that.
I just Like the size the window has when using the above settings combinations but don't want the window to be resized by cliking the restore or double clicking on the title bar

Is There any way i can catch this using the WM_WINDOWPOSCHANGING,WM_NCCALCSIZE,WM_WINDOWPOSCHANGED or WM_SIZE
GeneralRe: Window Style Pin
kriaz31-Oct-04 20:12
kriaz31-Oct-04 20:12 
GeneralRe: Window Style Pin
Leyu3-Nov-04 6:05
Leyu3-Nov-04 6:05 
GeneralBuilding own String class Pin
KernKraft3330-Oct-04 18:53
KernKraft3330-Oct-04 18:53 
GeneralRe: Building own String class Pin
Andrew Peace31-Oct-04 3:18
Andrew Peace31-Oct-04 3:18 
QuestionHow to get the image from a clistctrl? Pin
shibble30-Oct-04 13:00
shibble30-Oct-04 13:00 
AnswerRe: How to get the image from a clistctrl? Pin
Ravi Bhavnani30-Oct-04 15:39
professionalRavi Bhavnani30-Oct-04 15:39 
GeneralRe: How to get the image from a clistctrl? Pin
shibble30-Oct-04 23:16
shibble30-Oct-04 23:16 
GeneralRe: How to get the image from a clistctrl? Pin
Ravi Bhavnani31-Oct-04 6:02
professionalRavi Bhavnani31-Oct-04 6:02 
GeneralRe: How to get the image from a clistctrl? Pin
shibble31-Oct-04 7:02
shibble31-Oct-04 7:02 
GeneralRe: How to get the image from a clistctrl? Pin
Ravi Bhavnani31-Oct-04 7:06
professionalRavi Bhavnani31-Oct-04 7:06 
GeneralRe: How to get the image from a clistctrl? Pin
shibble31-Oct-04 7:12
shibble31-Oct-04 7:12 
Questionhow to Pass arguments to main and returning values from a program... Pin
Kiran Satish30-Oct-04 11:08
Kiran Satish30-Oct-04 11:08 
AnswerRe: how to Pass arguments to main and returning values from a program... Pin
Ravi Bhavnani30-Oct-04 15:41
professionalRavi Bhavnani30-Oct-04 15:41 
GeneralDoing a program compares bubble sort and multithread sort... Pin
30-Oct-04 10:45
suss30-Oct-04 10:45 
GeneralYABQ (Yet Another Beginner Question) Pin
BeerFizz30-Oct-04 8:47
BeerFizz30-Oct-04 8:47 
Questionevent programming? Pin
Setesh8230-Oct-04 7:15
Setesh8230-Oct-04 7:15 
General2 MFC Questions from a newbie. Help please. Pin
Member 148206230-Oct-04 5:01
Member 148206230-Oct-04 5:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.