Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUsing CToolTipCtrl Pin
Marty1020304017-Sep-03 5:02
Marty1020304017-Sep-03 5:02 
GeneralRe: Using CToolTipCtrl Pin
Alvaro Mendez17-Sep-03 6:09
Alvaro Mendez17-Sep-03 6:09 
GeneralRe: Using CToolTipCtrl Pin
Jagadeesh VN17-Sep-03 7:34
Jagadeesh VN17-Sep-03 7:34 
GeneralC++ Octree structure Pin
Alex Chitea17-Sep-03 4:20
Alex Chitea17-Sep-03 4:20 
GeneralRe: C++ Octree structure Pin
David Crow17-Sep-03 4:51
David Crow17-Sep-03 4:51 
GeneralRe: C++ Octree structure Pin
Hosam Aly Mahmoud17-Sep-03 8:53
Hosam Aly Mahmoud17-Sep-03 8:53 
GeneralOpening a Dialog from the menu Pin
Tom Wright17-Sep-03 4:08
Tom Wright17-Sep-03 4:08 
GeneralRe: Opening a Dialog from the menu Pin
HalfWayMan17-Sep-03 4:18
HalfWayMan17-Sep-03 4:18 
First, you need to create a new dialog box:

HWND dlg = CreateDialog (application_instance, MKINTRESOURCE (IDD_DIALOG_NAME),
parent_window, DefDlgProc);

Now show the window:

ShowWindow (dlg, SW_SHOW);

If it does not show properly, then update the window, and force it into focus:

UpdateWindow (dlg);
SetForegroundWindow (dlg);

When the use clicks your okay button, if you have set the resource ID for the Okay button to IDOK, the dialog will close are DefDlgproc (defined by Microsoft) will close the window.

Managing Director of Oiginal Sin Software
www.originalsinsoftware.com
GeneralRe: Opening a Dialog from the menu Pin
Tom Wright17-Sep-03 4:56
Tom Wright17-Sep-03 4:56 
GeneralRe: Opening a Dialog from the menu Pin
HalfWayMan17-Sep-03 5:05
HalfWayMan17-Sep-03 5:05 
GeneralRe: Opening a Dialog from the menu Pin
Tom Wright17-Sep-03 5:09
Tom Wright17-Sep-03 5:09 
GeneralRe: Opening a Dialog from the menu Pin
HalfWayMan17-Sep-03 5:12
HalfWayMan17-Sep-03 5:12 
GeneralRe: Opening a Dialog from the menu Pin
Tom Wright17-Sep-03 5:36
Tom Wright17-Sep-03 5:36 
GeneralRe: Opening a Dialog from the menu Pin
David Crow17-Sep-03 5:37
David Crow17-Sep-03 5:37 
GeneralCComboBox Pin
mstanciu200017-Sep-03 2:52
mstanciu200017-Sep-03 2:52 
GeneralRe: CComboBox Pin
David Crow17-Sep-03 3:19
David Crow17-Sep-03 3:19 
GeneralRe: CComboBox Pin
mstanciu200017-Sep-03 20:20
mstanciu200017-Sep-03 20:20 
GeneralRe: CComboBox Pin
Steve S18-Sep-03 1:55
Steve S18-Sep-03 1:55 
GeneralRe: CComboBox Pin
Yonatan10-Nov-03 1:54
Yonatan10-Nov-03 1:54 
GeneralRe: CComboBox Pin
Anonymous10-Nov-03 2:26
Anonymous10-Nov-03 2:26 
GeneralRe: CComboBox Pin
Yonatan10-Nov-03 2:59
Yonatan10-Nov-03 2:59 
Questionhow to display access database into dialog? Pin
coda_x17-Sep-03 2:13
coda_x17-Sep-03 2:13 
AnswerRe: how to display access database into dialog? Pin
David Crow17-Sep-03 2:39
David Crow17-Sep-03 2:39 
GeneralRe: how to display access database into dialog? Pin
coda_x17-Sep-03 3:22
coda_x17-Sep-03 3:22 
GeneralRe: how to display access database into dialog? Pin
David Crow17-Sep-03 3:32
David Crow17-Sep-03 3:32 

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.