Click here to Skip to main content
15,923,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which line do u put MoveWindow? Pin
#realJSOP23-Oct-01 6:14
professional#realJSOP23-Oct-01 6:14 
GeneralRe: Which line do u put MoveWindow? Pin
Carlos Antollini23-Oct-01 6:14
Carlos Antollini23-Oct-01 6:14 
GeneralRe: Which line do u put MoveWindow? Pin
#realJSOP23-Oct-01 6:10
professional#realJSOP23-Oct-01 6:10 
AnswerRe: How Can I set a CDialog's location when it display? Pin
Michael Dunn23-Oct-01 9:36
sitebuilderMichael Dunn23-Oct-01 9:36 
Generalusing #import Pin
23-Oct-01 4:19
suss23-Oct-01 4:19 
GeneralRe: using #import Pin
Steen Krogsgaard23-Oct-01 4:22
Steen Krogsgaard23-Oct-01 4:22 
GeneralRe: using #import Pin
23-Oct-01 21:40
suss23-Oct-01 21:40 
GeneralMessage Mapping Pin
Chambers23-Oct-01 4:16
Chambers23-Oct-01 4:16 
I am in desperate need of some good advice. I am trying to implement a dynamic menu system but the trouble is that I never know how many menu items i will have/need until run-time. Every item runs a standard algorithm (so it needs to be mapped to the same function), which is basically loading a particular file (which is why I don`t know how many items I need til runtime). Do I have to use dynamic message mapping? if so how could I implement it? or is there a function which gives me a handle to the menu? I have tried using WM_MENUSELECT, and this does pretty much what I need except it works as soon as you put the mouse of the item (i.e. you don`t have to even click the item for it to run the algorithm). Is there anyway of getting it to run only after I`ve clicked the item? Sorry, I don`t have any code examples because I`m still scratching my head wondering which direction to take. I would definately appreciate your thoughts on this guys, as it`s really holding me back and is stressing me out beyond belief.

Thanks,
Alan.


AEGC
GeneralRe: Message Mapping Pin
Steen Krogsgaard23-Oct-01 4:20
Steen Krogsgaard23-Oct-01 4:20 
GeneralRe: Message Mapping Pin
Chambers23-Oct-01 4:28
Chambers23-Oct-01 4:28 
GeneralRe: Message Mapping Pin
Steen Krogsgaard23-Oct-01 4:38
Steen Krogsgaard23-Oct-01 4:38 
QuestionCan anybody help me,please? Pin
Daniel Visan23-Oct-01 3:13
Daniel Visan23-Oct-01 3:13 
AnswerRe: Can anybody help me,please? Pin
Daniel Visan23-Oct-01 3:20
Daniel Visan23-Oct-01 3:20 
GeneralPLEASE, STOP SENDING ME FILES!!!!! Pin
Daniel Visan23-Oct-01 3:53
Daniel Visan23-Oct-01 3:53 
GeneralRe: PLEASE, STOP SENDING ME FILES!!!!! Pin
Christian Graus23-Oct-01 9:39
protectorChristian Graus23-Oct-01 9:39 
GeneralMutiple language Pin
23-Oct-01 2:43
suss23-Oct-01 2:43 
GeneralRe: Mutiple language Pin
Tomasz Sowinski23-Oct-01 2:53
Tomasz Sowinski23-Oct-01 2:53 
GeneralRe: Mutiple language Pin
23-Oct-01 3:15
suss23-Oct-01 3:15 
GeneralRe: Mutiple language Pin
Tomasz Sowinski23-Oct-01 3:21
Tomasz Sowinski23-Oct-01 3:21 
GeneralRe: Mutiple language Pin
ZAZA23-Oct-01 3:51
ZAZA23-Oct-01 3:51 
GeneralRe: Mutiple language Pin
Tomasz Sowinski23-Oct-01 4:02
Tomasz Sowinski23-Oct-01 4:02 
GeneralRe: Mutiple language Pin
Carlos Antollini23-Oct-01 4:02
Carlos Antollini23-Oct-01 4:02 
GeneralRe: Mutiple language Pin
ZAZA23-Oct-01 20:18
ZAZA23-Oct-01 20:18 
GeneralProblems with debugging Pin
Matjaz23-Oct-01 2:33
Matjaz23-Oct-01 2:33 
GeneralRe: Problems with debugging Pin
Andres Manggini23-Oct-01 5:07
Andres Manggini23-Oct-01 5:07 

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.