Click here to Skip to main content
15,915,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGet a list of clients in my LAN Pin
Rickard Andersson2016-May-02 20:37
Rickard Andersson2016-May-02 20:37 
GeneralRe: Get a list of clients in my LAN Pin
Corto Maltese16-May-02 22:00
Corto Maltese16-May-02 22:00 
GeneralRe: Get a list of clients in my LAN Pin
Rickard Andersson2016-May-02 22:21
Rickard Andersson2016-May-02 22:21 
GeneralRe: Get a list of clients in my LAN Pin
16-May-02 23:02
suss16-May-02 23:02 
GeneralRe: Get a list of clients in my LAN Pin
Rickard Andersson2017-May-02 0:07
Rickard Andersson2017-May-02 0:07 
GeneralRe: Get a list of clients in my LAN Pin
17-May-02 2:41
suss17-May-02 2:41 
GeneralRe: Get a list of clients in my LAN Pin
Rickard Andersson2017-May-02 3:29
Rickard Andersson2017-May-02 3:29 
GeneralSetDlgMsgResult Pin
NicholasCougar16-May-02 20:26
NicholasCougar16-May-02 20:26 
Hi,
How to use the function SetDlgMsgResult ?

The follows are an example, but I can't understand their meaning,
#define adgHANDLE_DLGMSG(hwnd, message, fn)
case (message): return (SetDlgMsgResult(hwnd, uMsg,
HANDLE_##message((hwnd), (wParam), (lParam), (fn))))


Jeffrey Richter said:

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.


My Question is, the parameter list in SetDlgMsgResult(HWND hwnd, int msg, LONG result) puzzles me. Which parameter replaces which parameter, and where does this action take place, in memory of window?



Thank you.



Best regard.

One concrete prolem is worth a thousand unapplied abstractions.
GeneralRe: SetDlgMsgResult Pin
Nish Nishant16-May-02 21:45
sitebuilderNish Nishant16-May-02 21:45 
GeneralRe: SetDlgMsgResult Pin
NicholasCougar16-May-02 22:56
NicholasCougar16-May-02 22:56 
GeneralRe: SetDlgMsgResult Pin
Nish Nishant16-May-02 23:00
sitebuilderNish Nishant16-May-02 23:00 
GeneralRe: SetDlgMsgResult Pin
NicholasCougar16-May-02 23:15
NicholasCougar16-May-02 23:15 
GeneralRe: SetDlgMsgResult Pin
Nish Nishant16-May-02 23:53
sitebuilderNish Nishant16-May-02 23:53 
Questionhow to parse all links from a page? Pin
16-May-02 19:58
suss16-May-02 19:58 
QuestionHow to compare 2 very simple XML files?<oem> Pin
16-May-02 20:06
suss16-May-02 20:06 
AnswerRe: How to compare 2 very simple XML files?<oem> Pin
Christian Graus16-May-02 20:39
protectorChristian Graus16-May-02 20:39 
GeneralRe: How to compare 2 very simple XML files?<oem> Pin
16-May-02 20:40
suss16-May-02 20:40 
GeneralRe: How to compare 2 very simple XML files?<oem> Pin
Black Cat16-May-02 21:27
Black Cat16-May-02 21:27 
GeneralRe: How to compare 2 very simple XML files?<oem> Pin
16-May-02 22:50
suss16-May-02 22:50 
GeneralRe: How to compare 2 very simple XML files?<oem> Pin
Black Cat17-May-02 0:07
Black Cat17-May-02 0:07 
GeneralRe: How to compare 2 very simple XML files?<oem> Pin
17-May-02 0:36
suss17-May-02 0:36 
GeneralRe: How to compare 2 very simple XML files?<oem> Pin
Christian Graus17-May-02 1:00
protectorChristian Graus17-May-02 1:00 
GeneralRe: How to compare 2 very simple XML files?<oem> Pin
17-May-02 4:40
suss17-May-02 4:40 
GeneralRe: How to compare 2 very simple XML files?<oem> Pin
Christian Graus17-May-02 0:59
protectorChristian Graus17-May-02 0:59 
GeneralProblem with PropertySheet in the Dialog Pin
Eugene Pustovoyt16-May-02 19:44
Eugene Pustovoyt16-May-02 19:44 

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.