Click here to Skip to main content
15,917,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Full Screen Pin
MrMcIntyre21-Oct-09 9:33
MrMcIntyre21-Oct-09 9:33 
GeneralRe: Full Screen Pin
MrMcIntyre21-Oct-09 9:54
MrMcIntyre21-Oct-09 9:54 
GeneralRe: Full Screen Pin
David Crow21-Oct-09 16:57
David Crow21-Oct-09 16:57 
GeneralRe: Full Screen Pin
MrMcIntyre22-Oct-09 5:43
MrMcIntyre22-Oct-09 5:43 
AnswerRe: Full Screen Pin
David Crow22-Oct-09 5:45
David Crow22-Oct-09 5:45 
GeneralRe: Full Screen Pin
loyal ginger21-Oct-09 8:38
loyal ginger21-Oct-09 8:38 
AnswerRe: Full Screen Pin
MrMcIntyre22-Oct-09 5:53
MrMcIntyre22-Oct-09 5:53 
AnswerRe: Full Screen Pin
David Crow22-Oct-09 5:59
David Crow22-Oct-09 5:59 
MrMcIntyre wrote:
hwnd = CreateWindowEx(
WS_EX_CLIENTEDGE,
g_szClassName,
"My Project",
WS_POPUP,
SW_MAXIMIZE. <<---
NULL, NULL, hInstance, NULL);


Surely this does not compile for you. Confused | :confused:

It should be:

hwnd = CreateWindowEx(WS_EX_CLIENTEDGE, g_szClassName, "My Project", WS_POPUP, 
                      0, 0, 0, 0, 
                      (HWND) NULL, (HMENU) NULL, hInstance, NULL);

MrMcIntyre wrote:
ShowWindow(hwnd, nCmdShow);


ShowWindow(hwnd, SW_MAXIMIZE);

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


GeneralRe: Full Screen Pin
MrMcIntyre22-Oct-09 6:04
MrMcIntyre22-Oct-09 6:04 
AnswerRe: Full Screen Pin
Iain Clarke, Warrior Programmer21-Oct-09 8:53
Iain Clarke, Warrior Programmer21-Oct-09 8:53 
GeneralRe: Full Screen Pin
MrMcIntyre24-Oct-09 3:14
MrMcIntyre24-Oct-09 3:14 
GeneralRe: Full Screen Pin
Iain Clarke, Warrior Programmer24-Oct-09 4:22
Iain Clarke, Warrior Programmer24-Oct-09 4:22 
QuestionThe output seem confusing please clear my doubt Pin
venkatasu21-Oct-09 4:20
venkatasu21-Oct-09 4:20 
AnswerRe: The output seem confusing please clear my doubt Pin
Chuck O'Toole21-Oct-09 4:25
Chuck O'Toole21-Oct-09 4:25 
GeneralRe: The output seem confusing please clear my doubt Pin
venkatasu21-Oct-09 4:59
venkatasu21-Oct-09 4:59 
GeneralRe: The output seem confusing please clear my doubt Pin
Chuck O'Toole21-Oct-09 5:01
Chuck O'Toole21-Oct-09 5:01 
GeneralRe: The output seem confusing please clear my doubt Pin
venkatasu21-Oct-09 5:06
venkatasu21-Oct-09 5:06 
GeneralRe: The output seem confusing please clear my doubt Pin
Chuck O'Toole21-Oct-09 5:07
Chuck O'Toole21-Oct-09 5:07 
GeneralRe: The output seem confusing please clear my doubt Pin
venkatasu21-Oct-09 5:13
venkatasu21-Oct-09 5:13 
QuestionRe: The output seem confusing please clear my doubt Pin
David Crow21-Oct-09 5:16
David Crow21-Oct-09 5:16 
AnswerRe: The output seem confusing please clear my doubt Pin
venkatasu21-Oct-09 5:42
venkatasu21-Oct-09 5:42 
GeneralRe: The output seem confusing please clear my doubt Pin
David Crow21-Oct-09 5:47
David Crow21-Oct-09 5:47 
GeneralRe: The output seem confusing please clear my doubt Pin
Chuck O'Toole21-Oct-09 5:20
Chuck O'Toole21-Oct-09 5:20 
GeneralRe: The output seem confusing please clear my doubt Pin
venkatasu21-Oct-09 5:44
venkatasu21-Oct-09 5:44 
GeneralRe: The output seem confusing please clear my doubt Pin
David Crow21-Oct-09 5:49
David Crow21-Oct-09 5:49 

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.