Click here to Skip to main content
15,924,317 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: about anti virus software Pin
trioum25-Nov-08 23:15
trioum25-Nov-08 23:15 
AnswerRe: about anti virus software Pin
Iain Clarke, Warrior Programmer26-Nov-08 0:35
Iain Clarke, Warrior Programmer26-Nov-08 0:35 
AnswerRe: about anti virus software Pin
Rajesh R Subramanian26-Nov-08 0:36
professionalRajesh R Subramanian26-Nov-08 0:36 
Questionplz help me!!!how to display popup menu after clicking on a button? Pin
puppya25-Nov-08 18:22
puppya25-Nov-08 18:22 
AnswerRe: plz help me!!!how to display popup menu after clicking on a button? Pin
Hamid_RT25-Nov-08 19:04
Hamid_RT25-Nov-08 19:04 
GeneralRe: plz help me!!!how to display popup menu after clicking on a button? Pin
puppya25-Nov-08 20:28
puppya25-Nov-08 20:28 
GeneralRe: plz help me!!!how to display popup menu after clicking on a button? Pin
Hamid_RT25-Nov-08 20:35
Hamid_RT25-Nov-08 20:35 
AnswerRe: plz help me!!!how to display popup menu after clicking on a button? Pin
Jijo.Raj26-Nov-08 7:31
Jijo.Raj26-Nov-08 7:31 
Anjali Patil wrote:
i have a dialog based application. i want to display a popup menu when user clicks on button on a dialog and user should be able to select any of the items(from popped up menus after clicking on button).


Check out this simple tutorial[^].

But the tutorial explains how to display popup menu when you right click on a button. Since you want to show your menu during button click, I'll explain how to do it, in the context of the tutorial. Just add the button click event handler, then call the OnContextMenu() explained in the tutorial. Hope it helps.

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

GeneralRe: plz help me!!!how to display popup menu after clicking on a button? Pin
puppya26-Nov-08 17:19
puppya26-Nov-08 17:19 
QuestionHow to make the scroll bar move down and reduce its size (Repost) Pin
kapardhi25-Nov-08 18:04
kapardhi25-Nov-08 18:04 
AnswerRe: How to make the scroll bar move down and reduce its size (Repost) Pin
Iain Clarke, Warrior Programmer26-Nov-08 0:41
Iain Clarke, Warrior Programmer26-Nov-08 0:41 
QuestionHello about hooking this weird function any info is welcome Pin
nah133725-Nov-08 10:51
nah133725-Nov-08 10:51 
QuestionRe: Hello about hooking this weird function any info is welcome Pin
CPallini25-Nov-08 21:21
mveCPallini25-Nov-08 21:21 
AnswerRe: Hello about hooking this weird function any info is welcome Pin
nah133725-Nov-08 21:55
nah133725-Nov-08 21:55 
QuestionRe: Hello about hooking this weird function any info is welcome Pin
CPallini25-Nov-08 22:25
mveCPallini25-Nov-08 22:25 
AnswerRe: Hello about hooking this weird function any info is welcome Pin
nah133725-Nov-08 23:04
nah133725-Nov-08 23:04 
QuestionBigger OLE property pages Pin
garyflet25-Nov-08 7:39
garyflet25-Nov-08 7:39 
QuestionAVI capFileSaveDIB saving bitmap directly to memory?? Pin
Vaclav_25-Nov-08 7:03
Vaclav_25-Nov-08 7:03 
AnswerRe: AVI capFileSaveDIB saving bitmap directly to memory?? Pin
Mark Salsbery25-Nov-08 8:12
Mark Salsbery25-Nov-08 8:12 
GeneralRe: AVI capFileSaveDIB saving bitmap directly to memory?? Pin
led mike25-Nov-08 11:49
led mike25-Nov-08 11:49 
QuestionInterprocess Communication using Named Pipes Async (OverLapped) I/O Pin
ForNow25-Nov-08 6:47
ForNow25-Nov-08 6:47 
AnswerRe: Interprocess Communication using Named Pipes Async (OverLapped) I/O Pin
led mike25-Nov-08 11:48
led mike25-Nov-08 11:48 
GeneralRe: Interprocess Communication using Named Pipes Async (OverLapped) I/O Pin
ForNow25-Nov-08 13:34
ForNow25-Nov-08 13:34 
GeneralRe: Interprocess Communication using Named Pipes Async (OverLapped) I/O Pin
Iain Clarke, Warrior Programmer26-Nov-08 0:45
Iain Clarke, Warrior Programmer26-Nov-08 0:45 
GeneralRe: Interprocess Communication using Named Pipes Async (OverLapped) I/O Pin
ForNow26-Nov-08 13:44
ForNow26-Nov-08 13: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.