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

C#

 
GeneralRe: TextBox calculations on the fly. Pin
Heath Stewart4-May-04 8:04
protectorHeath Stewart4-May-04 8:04 
GeneralArray and form Pin
brugi821-May-04 23:20
brugi821-May-04 23:20 
GeneralRe: Array and form Pin
leppie2-May-04 0:54
leppie2-May-04 0:54 
GeneralRe: Array and form Pin
Dave Kreskowiak2-May-04 4:36
mveDave Kreskowiak2-May-04 4:36 
GeneralRe: Array and form Pin
thomasa2-May-04 22:23
thomasa2-May-04 22:23 
GeneralRe: Array and form Pin
brugi823-May-04 1:10
brugi823-May-04 1:10 
GeneralHiding Toolbar Pin
Mazdak1-May-04 21:10
Mazdak1-May-04 21:10 
GeneralRe: Hiding Toolbar Pin
Stefan Troschuetz1-May-04 21:46
Stefan Troschuetz1-May-04 21:46 
Hi!

I have implemented this behaviour to hide the MainMenu of my application.
I start an extra thread, which runs in the background with lowest priority, so it doesn't affect the performance and gets terminated by the CLR once all foreground threads belonging to the process have terminated. The thread executes an endless loop which checks if the Cursor.Position is over the area where my menu should be displayed.
If so, i assign the instance of my MainMenu to the Form.Menu property, so it is displayed. Additionally i move all controls in my Form upwards, so it seems they stay at the same place.

Does this help?
GeneralRe: Hiding Toolbar Pin
Mazdak1-May-04 22:09
Mazdak1-May-04 22:09 
GeneralRe: Hiding Toolbar Pin
Heath Stewart2-May-04 6:39
protectorHeath Stewart2-May-04 6:39 
GeneralRe: Hiding Toolbar Pin
Mazdak2-May-04 8:31
Mazdak2-May-04 8:31 
GeneralRe: Hiding Toolbar Pin
Heath Stewart2-May-04 8:51
protectorHeath Stewart2-May-04 8:51 
GeneralRe: Hiding Toolbar Pin
Mazdak2-May-04 8:56
Mazdak2-May-04 8:56 
GeneralRe: Hiding Toolbar Pin
Heath Stewart2-May-04 8:59
protectorHeath Stewart2-May-04 8:59 
GeneralRe: Hiding Toolbar Pin
Mazdak2-May-04 9:47
Mazdak2-May-04 9:47 
GeneralRe: Hiding Toolbar Pin
Mazdak2-May-04 9:57
Mazdak2-May-04 9:57 
GeneralRe: Hiding Toolbar Pin
Heath Stewart2-May-04 10:18
protectorHeath Stewart2-May-04 10:18 
GeneralRe: Hiding Toolbar Pin
Mazdak2-May-04 21:11
Mazdak2-May-04 21:11 
GeneralRe: Hiding Toolbar Pin
Nick Parker2-May-04 5:02
protectorNick Parker2-May-04 5:02 
GeneralRe: Hiding Toolbar Pin
Mazdak2-May-04 5:16
Mazdak2-May-04 5:16 
GeneralRe: Hiding Toolbar Pin
Nick Parker2-May-04 6:10
protectorNick Parker2-May-04 6:10 
GeneralProblem with app.config and myfile.exe.config Pin
PEDRO_PASAMAR1-May-04 21:03
PEDRO_PASAMAR1-May-04 21:03 
GeneralRe: Problem with app.config and myfile.exe.config Pin
Heath Stewart2-May-04 6:37
protectorHeath Stewart2-May-04 6:37 
GeneralC#/C++ interoperability Pin
sharonz1-May-04 20:38
sharonz1-May-04 20:38 
GeneralRe: C#/C++ interoperability Pin
Heath Stewart2-May-04 6:34
protectorHeath Stewart2-May-04 6:34 

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.