Click here to Skip to main content
15,893,622 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I open and read PS/2 Port (Read Mouse data) Pin
asd175313-Oct-03 9:25
asd175313-Oct-03 9:25 
QuestionHow can I open and read PS/2 Port (Read Mouse data) Pin
asd175313-Oct-03 9:25
asd175313-Oct-03 9:25 
GeneralHelp me Pin
Tomas Wilhelmsson13-Oct-03 9:20
Tomas Wilhelmsson13-Oct-03 9:20 
QuestionUpdateData into modeless dialog? Pin
andrzejf13-Oct-03 8:34
andrzejf13-Oct-03 8:34 
GeneralTrapping KeyBoard events Pin
act_x13-Oct-03 7:41
act_x13-Oct-03 7:41 
GeneralRe: Trapping KeyBoard events Pin
Phil Hamer13-Oct-03 10:55
Phil Hamer13-Oct-03 10:55 
GeneralHelp with WMI please Pin
corwin3213-Oct-03 7:19
corwin3213-Oct-03 7:19 
QuestionHow to close Modeless Dialog Pin
vancouver77713-Oct-03 6:57
vancouver77713-Oct-03 6:57 
I have a number of modeless dialog in my MDI applicaion.
When I try to open multiple dialogs and close, sometimes
the application fails. what is the proper way to close a
modeless dialog if I open the dialog like the following.
at the moment I make another function in dialog class called
closedialog and call protected function OnClose() any I was
thinking of deleting the pointer that was new at the top of
line. I am not 100% sure about it.

Any help is appliciated.

if( ! p_MyModelessDlg )
{
p_MyModelessDlg = new CMyModelessDlg;
}

if( pDoc -> b_Data == TRUE )
{
if (!::IsWindow( p_MyModelessDlg -> GetSafeHwnd() ) )
{
p_MyModelessDlg -> Create(IDD_MYMODELESS, this);
}
p_MyModelessDlg -> GetData();
p_MyModelessDlg -> ShowWindow(SW_SHOW);
p_MyModelessDlg -> b_OpenStatus = TRUE;
}


AnswerRe: How to close Modeless Dialog Pin
vcplusplus13-Oct-03 7:32
vcplusplus13-Oct-03 7:32 
AnswerRe: How to close Modeless Dialog Pin
Jim Crafton13-Oct-03 7:50
Jim Crafton13-Oct-03 7:50 
Generalfile io Pin
Snyp13-Oct-03 6:55
Snyp13-Oct-03 6:55 
GeneralRe: file io Pin
David Crow13-Oct-03 7:57
David Crow13-Oct-03 7:57 
GeneralkeyBoard events Pin
act_x13-Oct-03 6:53
act_x13-Oct-03 6:53 
GeneralDisabling the tool bar button Pin
sanjay zore13-Oct-03 6:29
sanjay zore13-Oct-03 6:29 
GeneralRe: Disabling the tool bar button Pin
Mike Danberg13-Oct-03 8:26
Mike Danberg13-Oct-03 8:26 
GeneralDownload file from internet (http) Pin
Dominik Reichl13-Oct-03 6:26
Dominik Reichl13-Oct-03 6:26 
GeneralRe: Download file from internet (http) Pin
David Isla13-Oct-03 7:01
David Isla13-Oct-03 7:01 
GeneralRe: Download file from internet (http) Pin
Dominik Reichl13-Oct-03 8:16
Dominik Reichl13-Oct-03 8:16 
GeneralInternet from a Windows Service Pin
Bart13-Oct-03 5:25
Bart13-Oct-03 5:25 
GeneralWS_CLIPCHILDREN problem Pin
jmgir13-Oct-03 5:21
jmgir13-Oct-03 5:21 
Generalwrapper to a function with an unknown number of variables Pin
sagmam13-Oct-03 5:06
sagmam13-Oct-03 5:06 
GeneralRe: wrapper to a function with an unknown number of variables Pin
Phil Hamer13-Oct-03 5:33
Phil Hamer13-Oct-03 5:33 
QuestionBeginner: How to declare pointers ? Pin
MirNixDirNix13-Oct-03 5:05
MirNixDirNix13-Oct-03 5:05 
AnswerRe: Beginner: How to declare pointers ? Pin
Phil Hamer13-Oct-03 5:21
Phil Hamer13-Oct-03 5:21 
GeneralCFileDialog + PropertySheet Pin
act_x13-Oct-03 5:00
act_x13-Oct-03 5:00 

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.