Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Where to Put ShowWindow Pin
chandu00412-Oct-07 21:31
chandu00412-Oct-07 21:31 
AnswerRe: Where to Put ShowWindow Pin
Tony Hill13-Oct-07 0:55
professionalTony Hill13-Oct-07 0:55 
AnswerRe: Where to Put ShowWindow Pin
Mark Salsbery13-Oct-07 6:36
Mark Salsbery13-Oct-07 6:36 
GeneralCuriosity Pin
Nelek14-Oct-07 21:39
protectorNelek14-Oct-07 21:39 
GeneralRe: Curiosity Pin
Mark Salsbery15-Oct-07 5:50
Mark Salsbery15-Oct-07 5:50 
GeneralRe: Curiosity Pin
Nelek15-Oct-07 22:49
protectorNelek15-Oct-07 22:49 
AnswerRe: Where to Put ShowWindow Pin
David Crow14-Oct-07 17:22
David Crow14-Oct-07 17:22 
GeneralRe: Where to Put ShowWindow Pin
GauranG Shah14-Oct-07 19:49
GauranG Shah14-Oct-07 19:49 
Hey Thanx David.

I see the Solution you have suggested, but the problem is the solution is for MFC Application while I am using Win32 API .

Can You help me with this. ???

I have tried somthing like this. but the Same thing. Errors,
I have Taken the Global Boolean flag First. But dont know where to initialize it to True. So I have initialize it in WM_INITDIALOG.

case WM_WINDOWPOSCHANGING:
 if(First)
 {
 if ( ! ShowWindow(hWndDlg,SW_HIDE) )
	  dError = GetLastError();
      First = FALSE;
  }
break;

case WM_INITDIALOG :

     First  = TRUE;
      ...
      ...

 break;



GeneralRe: Where to Put ShowWindow Pin
David Crow15-Oct-07 3:13
David Crow15-Oct-07 3:13 
QuestionRe: Where to Put ShowWindow [SOLVED] Pin
GauranG Shah14-Oct-07 23:59
GauranG Shah14-Oct-07 23:59 
AnswerRe: Where to Put ShowWindow [SOLVED] Pin
Mark Salsbery15-Oct-07 5:51
Mark Salsbery15-Oct-07 5:51 
Questiondynamic Listbox control Pin
s196675m12-Oct-07 20:52
s196675m12-Oct-07 20:52 
AnswerRe: dynamic Listbox control Pin
Hamid_RT12-Oct-07 20:55
Hamid_RT12-Oct-07 20:55 
AnswerRe: dynamic Listbox control Pin
chandu00412-Oct-07 21:23
chandu00412-Oct-07 21:23 
GeneralRe: dynamic Listbox control Pin
s196675m13-Oct-07 5:13
s196675m13-Oct-07 5:13 
GeneralRe: dynamic Listbox control Pin
chandu00413-Oct-07 5:50
chandu00413-Oct-07 5:50 
GeneralRe: dynamic Listbox control [modified] Pin
Mark Salsbery13-Oct-07 7:06
Mark Salsbery13-Oct-07 7:06 
GeneralRe: dynamic Listbox control Pin
chandu00413-Oct-07 7:24
chandu00413-Oct-07 7:24 
GeneralRe: dynamic Listbox control Pin
s196675m13-Oct-07 7:57
s196675m13-Oct-07 7:57 
GeneralRe: dynamic Listbox control Pin
Mark Salsbery13-Oct-07 8:03
Mark Salsbery13-Oct-07 8:03 
GeneralRe: dynamic Listbox control Pin
chandu00413-Oct-07 8:09
chandu00413-Oct-07 8:09 
GeneralRe: dynamic Listbox control Pin
s196675m13-Oct-07 8:50
s196675m13-Oct-07 8:50 
GeneralRe: dynamic Listbox control Pin
chandu00413-Oct-07 9:54
chandu00413-Oct-07 9:54 
GeneralRe: dynamic Listbox control Pin
Mark Salsbery13-Oct-07 8:10
Mark Salsbery13-Oct-07 8:10 
GeneralRe: dynamic Listbox control Pin
s196675m13-Oct-07 8:52
s196675m13-Oct-07 8:52 

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.