Click here to Skip to main content
16,011,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Refresh problem... Pin
Ernest Laurentin8-May-03 3:59
Ernest Laurentin8-May-03 3:59 
GeneralBitmap processing Pin
sooyewguan7-May-03 21:33
sooyewguan7-May-03 21:33 
GeneralRe: Bitmap processing Pin
Chris Losinger8-May-03 3:07
professionalChris Losinger8-May-03 3:07 
Generalsmall ques about handles Pin
r i s h a b h s7-May-03 18:19
r i s h a b h s7-May-03 18:19 
GeneralRe: small ques about handles Pin
_crs_7-May-03 19:51
_crs_7-May-03 19:51 
GeneralRe: small ques about handles Pin
r i s h a b h s7-May-03 21:36
r i s h a b h s7-May-03 21:36 
GeneralRe: small ques about handles Pin
David Crow8-May-03 3:33
David Crow8-May-03 3:33 
GeneralRe: small ques about handles Pin
_crs_8-May-03 6:13
_crs_8-May-03 6:13 
... if you are in DialogProc - it looks like this
LRESULT CALLBACK DialogPROC(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
handle to the dialog is "hDlg" your first parameter

when you create a dialog ...
DialogBox(hInst, (LPCTSTR)IDD_DIALOG1, hWnd, (DLGPROC)DialogPROC);

where "hInst" is the application instance,
"hWnd" is a handle to parent dialog window in your case will be main window
"IDD_DIALOG1" is the dialog resource id and
"DialogPROC" is the dialog callback procedure (like WndProc for your main window)

if you use MFC look at the other answer ....
Generalabout edit vertical center Pin
Anonymous7-May-03 18:18
Anonymous7-May-03 18:18 
GeneralRe: about edit vertical center Pin
jhaga7-May-03 23:31
professionaljhaga7-May-03 23:31 
GeneralHelp me Pin
trunghp7-May-03 18:17
trunghp7-May-03 18:17 
GeneralRe: Help me Pin
jhaga7-May-03 23:27
professionaljhaga7-May-03 23:27 
GeneralRe: Help me Pin
JensB8-May-03 0:08
JensB8-May-03 0:08 
Generalsmall problems with runtime controls Pin
r i s h a b h s7-May-03 18:15
r i s h a b h s7-May-03 18:15 
GeneralRe: small problems with runtime controls Pin
r i s h a b h s7-May-03 19:52
r i s h a b h s7-May-03 19:52 
GeneralRe: small problems with runtime controls Pin
Anonymous7-May-03 22:03
Anonymous7-May-03 22:03 
GeneralRe: small problems with runtime controls Pin
r i s h a b h s7-May-03 22:48
r i s h a b h s7-May-03 22:48 
GeneralRe: small problems with runtime controls Pin
David Crow8-May-03 3:34
David Crow8-May-03 3:34 
GeneralRe: small problems with runtime controls Pin
Trollslayer8-May-03 2:41
mentorTrollslayer8-May-03 2:41 
GeneralUsing RealAudio Pin
7-May-03 17:56
suss7-May-03 17:56 
GeneralRe: Using RealAudio Pin
Stephane Rodriguez.8-May-03 1:06
Stephane Rodriguez.8-May-03 1:06 
Generalopen IE as popup.. Pin
xxhimanshu7-May-03 17:53
xxhimanshu7-May-03 17:53 
GeneralDatabase Troubles Pin
bmxracer7-May-03 17:46
bmxracer7-May-03 17:46 
GeneralOpenDocumentFile(NULL) has problem Pin
blongtq7-May-03 15:11
blongtq7-May-03 15:11 
GeneralRe: OpenDocumentFile(NULL) has problem Pin
Nimmi K.R13-Aug-08 17:42
Nimmi K.R13-Aug-08 17:42 

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.