Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to add buttons in toolbar and remove it dynamiclay Pin
bruspark4-Apr-06 19:01
bruspark4-Apr-06 19:01 
GeneralRe: how to add buttons in toolbar and remove it dynamiclay Pin
Russell'4-Apr-06 22:41
Russell'4-Apr-06 22:41 
Question[Message Deleted] Pin
bruspark2-Apr-06 21:36
bruspark2-Apr-06 21:36 
AnswerRe: how to add buttons in toolbar and remove it dynamiclay Pin
Hamid_RT2-Apr-06 21:54
Hamid_RT2-Apr-06 21:54 
GeneralRe: how to add buttons in toolbar and remove it dynamiclay Pin
Waldermort2-Apr-06 22:16
Waldermort2-Apr-06 22:16 
GeneralRe: how to add buttons in toolbar and remove it dynamiclay Pin
Hamid_RT2-Apr-06 22:33
Hamid_RT2-Apr-06 22:33 
GeneralRe: how to add buttons in toolbar and remove it dynamiclay Pin
Waldermort2-Apr-06 22:38
Waldermort2-Apr-06 22:38 
GeneralRe: how to add buttons in toolbar and remove it dynamiclay Pin
bruspark2-Apr-06 23:37
bruspark2-Apr-06 23:37 
Confused | :confused: The problem is :when i create a button in toolbar,i got the ID of the button,but how can i make the buttons recieve the click event ?

with the classwizard we can map the command to the buttonID,when i click the buttons,handler fuction is called...
however,now ,the buttons is created dynamicly,and we don't know the buttonID in advance.The classwizard can't work in this case.

i can call the PostMessage() fucntion to inform the buttons created dynamicly. the problem is how can the buttons recieved the click event and
where do i place the message handler fuctions?
QuestionRe: how to add buttons in toolbar and remove it dynamiclay Pin
bruspark2-Apr-06 23:42
bruspark2-Apr-06 23:42 
AnswerRe: how to add buttons in toolbar and remove it dynamiclay Pin
Rage2-Apr-06 22:17
professionalRage2-Apr-06 22:17 
QuestionTreeCtrl tooltip Pin
Nishad S2-Apr-06 21:29
Nishad S2-Apr-06 21:29 
AnswerRe: TreeCtrl tooltip Pin
Nibu babu thomas2-Apr-06 22:30
Nibu babu thomas2-Apr-06 22:30 
QuestionWindows does not redraw Pin
Abris2-Apr-06 21:01
Abris2-Apr-06 21:01 
AnswerRe: Windows does not redraw Pin
Nibu babu thomas2-Apr-06 21:10
Nibu babu thomas2-Apr-06 21:10 
AnswerRe: Windows does not redraw Pin
Anilkumar K V2-Apr-06 21:52
Anilkumar K V2-Apr-06 21:52 
AnswerRe: Windows does not redraw Pin
Laxman Auti2-Apr-06 22:14
Laxman Auti2-Apr-06 22:14 
GeneralRe: Windows does not redraw Pin
Abris3-Apr-06 0:35
Abris3-Apr-06 0:35 
GeneralRe: Windows does not redraw Pin
David Crow3-Apr-06 2:36
David Crow3-Apr-06 2:36 
QuestionPrinting & Print in Progress dialog Pin
Sarvan AL2-Apr-06 20:18
Sarvan AL2-Apr-06 20:18 
AnswerRe: Printing & Print in Progress dialog Pin
Waldermort2-Apr-06 20:32
Waldermort2-Apr-06 20:32 
QuestionMDI and ResizeParentToFit() Pin
Sarvan AL2-Apr-06 20:16
Sarvan AL2-Apr-06 20:16 
AnswerRe: MDI and ResizeParentToFit() Pin
Sarvan AL3-Apr-06 23:20
Sarvan AL3-Apr-06 23:20 
QuestionCMetaFileDC Pin
yang__lee2-Apr-06 19:25
yang__lee2-Apr-06 19:25 
AnswerRe: CMetaFileDC Pin
Nibu babu thomas2-Apr-06 19:58
Nibu babu thomas2-Apr-06 19:58 
QuestionBrowser Pin
Tran Ngoc Minh2-Apr-06 18:32
Tran Ngoc Minh2-Apr-06 18:32 

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.