Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
AnswerRe: When to use C# , when VC++ ? Pin
Rocky Moore15-Jun-03 23:49
Rocky Moore15-Jun-03 23:49 
GeneralRe: When to use C# , when VC++ ? Pin
Meysam Mahfouzi16-Jun-03 18:55
Meysam Mahfouzi16-Jun-03 18:55 
GeneralRe: When to use C# , when VC++ ? Pin
J. Dunlap16-Jun-03 19:17
J. Dunlap16-Jun-03 19:17 
GeneralRe: When to use C# , when VC++ ? Pin
Rocky Moore16-Jun-03 22:34
Rocky Moore16-Jun-03 22:34 
GeneralRe: When to use C# , when VC++ ? Pin
Meysam Mahfouzi10-Aug-03 4:20
Meysam Mahfouzi10-Aug-03 4:20 
GeneralRe: When to use C# , when VC++ ? Pin
Rocky Moore11-Aug-03 0:57
Rocky Moore11-Aug-03 0:57 
GeneralShowing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 6:53
Patrick Bristow15-Jun-03 6:53 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 7:32
J. Dunlap15-Jun-03 7:32 
With menus and combo dropdowns, you grab the mouse capture with SetCapture() when the mouse is outside your menu, and release the capture with ReleaseCapture() when the mouse is inside your menu (so that any contained controls can get mouse messages). So this would be the way to do it here. You will also want to close the popup when it recieves a WM_APPACTIVATE message where the app being activated is not your own.

I had been struggling with this with my CommandBar, but when I discovered this way, everything worked perfectly.


"Blessed are the peacemakers, for they shall be called sons of God." - Jesus

"You must be the change you wish to see in the world." - Mahatma Gandhi







GeneralRe: Showing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 7:41
Patrick Bristow15-Jun-03 7:41 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 8:14
J. Dunlap15-Jun-03 8:14 
GeneralRe: Showing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 8:44
Patrick Bristow15-Jun-03 8:44 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 9:15
J. Dunlap15-Jun-03 9:15 
GeneralRe: Showing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 9:28
Patrick Bristow15-Jun-03 9:28 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 10:45
J. Dunlap15-Jun-03 10:45 
GeneralI've got it! Pin
J. Dunlap15-Jun-03 11:27
J. Dunlap15-Jun-03 11:27 
GeneralRe: I've got it! Pin
Patrick Bristow15-Jun-03 11:35
Patrick Bristow15-Jun-03 11:35 
GeneralRe: I've got it! [UPDATED] Pin
J. Dunlap15-Jun-03 11:40
J. Dunlap15-Jun-03 11:40 
GeneralRe: SetWindowLong and SetWindowPos Pin
J. Dunlap15-Jun-03 13:35
J. Dunlap15-Jun-03 13:35 
GeneralRe: SetWindowLong and SetWindowPos Pin
J. Dunlap15-Jun-03 22:26
J. Dunlap15-Jun-03 22:26 
GeneralRe: SetWindowLong and SetWindowPos Pin
J. Dunlap16-Jun-03 8:02
J. Dunlap16-Jun-03 8:02 
GeneralRe: Showing a Form as a drop-down menu Pin
A.Wegierski15-Jun-03 22:54
A.Wegierski15-Jun-03 22:54 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap16-Jun-03 7:47
J. Dunlap16-Jun-03 7:47 
GeneralArrayLists & multithreading... Pin
viperxp15-Jun-03 5:56
viperxp15-Jun-03 5:56 
GeneralRe: ArrayLists & multithreading... Pin
leppie15-Jun-03 6:44
leppie15-Jun-03 6:44 
GeneralRe: ArrayLists & multithreading... Pin
Arjan Einbu15-Jun-03 11:46
Arjan Einbu15-Jun-03 11: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.