Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSDI title bar Pin
Daniel132428-Oct-03 7:08
Daniel132428-Oct-03 7:08 
GeneralRe: SDI title bar Pin
Michael P Butler28-Oct-03 7:35
Michael P Butler28-Oct-03 7:35 
GeneralSerialization or Persistant Class Pin
mfcuser28-Oct-03 6:53
mfcuser28-Oct-03 6:53 
GeneralRe: Serialization or Persistant Class Pin
Joaquín M López Muñoz28-Oct-03 9:59
Joaquín M López Muñoz28-Oct-03 9:59 
GeneralCommunication between child windows Pin
Behzad Ebrahimi28-Oct-03 6:36
Behzad Ebrahimi28-Oct-03 6:36 
GeneralRe: Communication between child windows Pin
alex.barylski28-Oct-03 7:45
alex.barylski28-Oct-03 7:45 
GeneralCatching clicking Pin
YaronNir28-Oct-03 5:50
YaronNir28-Oct-03 5:50 
GeneralRe: Catching clicking Pin
alex.barylski28-Oct-03 7:26
alex.barylski28-Oct-03 7:26 
It's to my understanding that message reflection is MFC compile time only.

If your creating windows dynamically I don't think there is a way to map handlers using macros Smile | :) So I would suggest probably using OnCommand() and using an if statement:

MyDialog::OnCommand( WPARAM wParam, LPARAM lParam )
{
  if(LOWORD(wParam) <= IDC_DNYCTRL_FIRST && LOWORD(wParam) >= IDC_DNYCTRL_LAST)
    // Handle any button click within a range of values
}


HTH

Cheers Smile | :)

I'm drinking triples, seeing double and acting single Cool | :cool:
GeneralRe: Catching clicking Pin
David Crow28-Oct-03 10:45
David Crow28-Oct-03 10:45 
GeneralRe: Catching clicking Pin
alex.barylski28-Oct-03 11:58
alex.barylski28-Oct-03 11:58 
GeneralRe: Catching clicking Pin
yndfcd28-Oct-03 13:35
yndfcd28-Oct-03 13:35 
GeneralRe: Catching clicking Pin
Peter Molnar29-Oct-03 14:27
Peter Molnar29-Oct-03 14:27 
Generalusing Indic scripts in MFC in Win2K Pin
sagmam28-Oct-03 5:00
sagmam28-Oct-03 5:00 
QuestionHow to open a file in a different directory Pin
Deepak Samuel28-Oct-03 4:37
Deepak Samuel28-Oct-03 4:37 
AnswerRe: How to open a file in a different directory Pin
sagmam28-Oct-03 5:02
sagmam28-Oct-03 5:02 
AnswerRe: How to open a file in a different directory Pin
valikac28-Oct-03 5:47
valikac28-Oct-03 5:47 
GeneralResolution Problems Pin
Bernhard28-Oct-03 3:32
Bernhard28-Oct-03 3:32 
GeneralFile open dialog misery Pin
Rick Dangerous28-Oct-03 3:28
Rick Dangerous28-Oct-03 3:28 
GeneralCRichEditCtrl a WYSIWYG Control -- Don't Think So! Pin
Larry J. Siddens28-Oct-03 3:24
Larry J. Siddens28-Oct-03 3:24 
Generalunicode macro Pin
Anonymous28-Oct-03 3:16
Anonymous28-Oct-03 3:16 
GeneralRe: unicode macro Pin
Graham Bradshaw28-Oct-03 4:30
Graham Bradshaw28-Oct-03 4:30 
GeneralRe: unicode macro Pin
sagmam28-Oct-03 5:07
sagmam28-Oct-03 5:07 
QuestionHow to abort reading operation on blocking socket? Pin
kotbegemot28-Oct-03 2:56
kotbegemot28-Oct-03 2:56 
AnswerRe: How to abort reading operation on blocking socket? Pin
valikac28-Oct-03 5:48
valikac28-Oct-03 5:48 
GeneralRe: How to abort reading operation on blocking socket? Pin
SLiDeR28-Oct-03 6:46
SLiDeR28-Oct-03 6:46 

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.