Click here to Skip to main content
16,006,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIPicture and Printing/Design Mode problems Pin
Braulio Dez12-May-02 21:19
Braulio Dez12-May-02 21:19 
GeneralFax Service Pin
Sameer Maggon12-May-02 21:26
Sameer Maggon12-May-02 21:26 
GeneralRe: Fax Service Pin
Michael P Butler12-May-02 22:11
Michael P Butler12-May-02 22:11 
QuestionadgHANDLE_DLGMSG??? Pin
NicholasCougar12-May-02 21:16
NicholasCougar12-May-02 21:16 
AnswerRe: adgHANDLE_DLGMSG??? Pin
Nish Nishant12-May-02 21:26
sitebuilderNish Nishant12-May-02 21:26 
GeneralRe: adgHANDLE_DLGMSG??? Pin
NicholasCougar12-May-02 21:39
NicholasCougar12-May-02 21:39 
GeneralRe: adgHANDLE_DLGMSG??? Pin
Nish Nishant12-May-02 21:48
sitebuilderNish Nishant12-May-02 21:48 
GeneralRe: adgHANDLE_DLGMSG??? Pin
NicholasCougar12-May-02 22:04
NicholasCougar12-May-02 22:04 
Hi,

You are right!!!

Following is the Macro Jeffrey Richter wrote.

// The normal HANDLE_MSG macro in WINDOWSX.H does not work properly for dialog
// boxes because DlgProc's return a BOOL instead of an LRESULT (like
// WndProcs). This adgHANDLE_DLGMSG macro corrects the problem:
#define adgHANDLE_DLGMSG(hwnd, message, fn) \
case (message): return (SetDlgMsgResult(hwnd, uMsg, \
HANDLE_##message((hwnd), (wParam), (lParam), (fn))))


And this Macro is collected in Win95adg.h which is included in source file.

Thank you

Best regard.

I confess that I am a stubborn guy, but why not put things thoroughly, logically and systematically clean. One concrete prolem is worth a thousand unapplied abstractions.
GeneralWM_MOUSEWHEEL scroll only one line Pin
12-May-02 20:15
suss12-May-02 20:15 
GeneralRe: WM_MOUSEWHEEL scroll only one line Pin
12-May-02 22:53
suss12-May-02 22:53 
Generalrunning exes Pin
Dor12-May-02 19:02
Dor12-May-02 19:02 
GeneralRe: running exes Pin
Nish Nishant12-May-02 19:21
sitebuilderNish Nishant12-May-02 19:21 
GeneralRe: running exes Pin
Brian Delahunty12-May-02 23:58
Brian Delahunty12-May-02 23:58 
GeneralRe: running exes Pin
Nish Nishant13-May-02 0:03
sitebuilderNish Nishant13-May-02 0:03 
GeneralRe: running exes Pin
12-May-02 19:23
suss12-May-02 19:23 
GeneralRe: running exes Pin
Mazdak12-May-02 20:01
Mazdak12-May-02 20:01 
GeneralRe: running exes Pin
Jason Henderson13-May-02 3:38
Jason Henderson13-May-02 3:38 
GeneralBad bad service :-( Pin
Nish Nishant12-May-02 19:08
sitebuilderNish Nishant12-May-02 19:08 
GeneralRe: Bad bad service :-( Pin
Dor12-May-02 19:17
Dor12-May-02 19:17 
GeneralRe: Bad bad service :-( Pin
Nish Nishant12-May-02 19:24
sitebuilderNish Nishant12-May-02 19:24 
GeneralWanna About Proxy Pin
chaolong12-May-02 16:47
chaolong12-May-02 16:47 
GeneralRe: Wanna About Proxy Pin
Nish Nishant12-May-02 17:22
sitebuilderNish Nishant12-May-02 17:22 
GeneralRe: Wanna About Proxy Pin
chaolong12-May-02 22:59
chaolong12-May-02 22:59 
GeneralRe: Wanna About Proxy Pin
Sameer Maggon12-May-02 21:24
Sameer Maggon12-May-02 21:24 
GeneralRe: Wanna About Proxy Pin
chaolong12-May-02 23:08
chaolong12-May-02 23:08 

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.