Click here to Skip to main content
15,908,673 members
Home / Discussions / C#
   

C#

 
GeneralShowing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 6:53
Patrick Bristow15-Jun-03 6:53 
I'm trying to do a drop-down color picker, more or less using the same design as Watson39's code (here:http://www.codeproject.com/cs/miscctrl/color_picker.asp). What I find is that if you do ShowDialog() on the form, it goes Modal, and of course, you can't access the app that called it to click off the color picker and basically cancel. If you go with the Show() option, you end up losing focus on your app (it becomes "inactive") and you have a new, blank icon in your alt-tab window. I've tried setting the owner and parent of the color picker to the TopLevelControl of the calling control. No love. Anybody have any guesses on how to solve this?

thanks,
~Pb
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 7:32
J. Dunlap15-Jun-03 7:32 
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 
GeneralRe: ArrayLists & multithreading... Pin
viperxp15-Jun-03 23:24
viperxp15-Jun-03 23:24 
GeneralRe: ArrayLists & multithreading... Pin
James T. Johnson16-Jun-03 0:10
James T. Johnson16-Jun-03 0:10 
GeneralRe: ArrayLists & multithreading... Pin
viperxp16-Jun-03 2:53
viperxp16-Jun-03 2:53 
GeneralRe: ArrayLists & multithreading... Pin
James T. Johnson16-Jun-03 3:13
James T. Johnson16-Jun-03 3:13 
GeneralRe: ArrayLists & multithreading... Pin
viperxp16-Jun-03 7:10
viperxp16-Jun-03 7:10 
QuestionSimple inheritance? Pin
mcgahanfl15-Jun-03 2:27
mcgahanfl15-Jun-03 2:27 

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.