Click here to Skip to main content
16,012,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: constructor / destructor in template class Pin
act_x25-Feb-08 7:52
act_x25-Feb-08 7:52 
GeneralRe: constructor / destructor in template class Pin
David Crow25-Feb-08 7:41
David Crow25-Feb-08 7:41 
QuestionAdding trend-line to MSCHART in C++ Pin
Member 343670325-Feb-08 5:33
Member 343670325-Feb-08 5:33 
GeneralGet m_nIDHelp of active dialog from CMainFrame in MDI application Pin
ptr_Electron25-Feb-08 5:21
ptr_Electron25-Feb-08 5:21 
GeneralRe: Get m_nIDHelp of active dialog from CMainFrame in MDI application Pin
Dr. Emmett Brown25-Feb-08 5:30
Dr. Emmett Brown25-Feb-08 5:30 
GeneralRe: Get m_nIDHelp of active dialog from CMainFrame in MDI application Pin
ptr_Electron25-Feb-08 23:15
ptr_Electron25-Feb-08 23:15 
GeneralHide the dilog in dialog based application. Pin
vicky0000025-Feb-08 3:18
vicky0000025-Feb-08 3:18 
GeneralRe: Hide the dilog in dialog based application. Pin
Maxwell Chen25-Feb-08 3:23
Maxwell Chen25-Feb-08 3:23 
vicky00000 wrote:
I Used ShowWindow(SW_HIDE) it hide the dialog but at the inital it popup
how to avoid this


According to MSDN, the SW_HIDE is ignored during the 1st call when the dialog is about to pop up.


ShowWindow[^]

The first time an application calls ShowWindow, it should use the WinMain function's nCmdShow parameter as its nCmdShow parameter. Subsequent calls to ShowWindow must use one of the values in the given list, instead of the one specified by the WinMain function's nCmdShow parameter.

As noted in the discussion of the nCmdShow parameter, the nCmdShow value is ignored in the first call to ShowWindow if the program that launched the application specifies startup information in the structure. In this case, ShowWindow uses the information specified in the STARTUPINFO structure to show the window.


  Maxwell Chen

GeneralRe: Hide the dilog in dialog based application. Pin
vicky0000025-Feb-08 17:54
vicky0000025-Feb-08 17:54 
GeneralRe: Hide the dilog in dialog based application. Pin
Maxwell Chen25-Feb-08 3:36
Maxwell Chen25-Feb-08 3:36 
AnswerRe: Hide the dilog in dialog based application. Pin
Rajkumar R25-Feb-08 3:52
Rajkumar R25-Feb-08 3:52 
GeneralRe: Hide the dilog in dialog based application. Pin
David Crow25-Feb-08 3:58
David Crow25-Feb-08 3:58 
GeneralRe: Hide the dilog in dialog based application. Pin
vicky0000026-Feb-08 22:56
vicky0000026-Feb-08 22:56 
Generalopening an .mdb file Pin
Anandi.VC25-Feb-08 2:53
Anandi.VC25-Feb-08 2:53 
GeneralRe: opening an .mdb file Pin
David Crow25-Feb-08 3:54
David Crow25-Feb-08 3:54 
GeneralRe: opening an .mdb file Pin
Anandi.VC25-Feb-08 5:02
Anandi.VC25-Feb-08 5:02 
GeneralRe: opening an .mdb file Pin
Demian Panello25-Feb-08 4:37
Demian Panello25-Feb-08 4:37 
GeneralRe: opening an .mdb file Pin
Anandi.VC25-Feb-08 5:00
Anandi.VC25-Feb-08 5:00 
GeneralRe: opening an .mdb file Pin
Hamid_RT25-Feb-08 6:50
Hamid_RT25-Feb-08 6:50 
GeneralWay of the messages and effect on other applications Pin
baerten25-Feb-08 2:50
baerten25-Feb-08 2:50 
GeneralRe: Way of the messages and effect on other applications Pin
Dr. Emmett Brown25-Feb-08 5:16
Dr. Emmett Brown25-Feb-08 5:16 
GeneralRe: Way of the messages and effect on other applications Pin
Ali Rafiee25-Feb-08 5:28
Ali Rafiee25-Feb-08 5:28 
GeneralCompiler Warning C4373 about virtual methods Pin
George_George25-Feb-08 2:38
George_George25-Feb-08 2:38 
AnswerRe: Compiler Warning C4373 about virtual methods Pin
Rajkumar R25-Feb-08 5:07
Rajkumar R25-Feb-08 5:07 
GeneralRe: Compiler Warning C4373 about virtual methods Pin
George_George25-Feb-08 18:30
George_George25-Feb-08 18:30 

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.