Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: Global Variables ...wtf Pin
Marc Clifton3-Aug-03 6:30
mvaMarc Clifton3-Aug-03 6:30 
GeneralRe: Global Variables ...wtf Pin
Furty3-Aug-03 14:36
Furty3-Aug-03 14:36 
GeneralRe: Global Variables ...wtf Pin
James T. Johnson3-Aug-03 16:20
James T. Johnson3-Aug-03 16:20 
GeneralRe: Global Variables ...wtf Pin
antoine@orchus-tech4-Aug-03 16:35
antoine@orchus-tech4-Aug-03 16:35 
GeneralRe: Global Variables ...wtf Pin
LovelyXiaoXinXin3-Aug-03 16:46
LovelyXiaoXinXin3-Aug-03 16:46 
GeneralRe: Global Variables ...wtf Pin
Furty3-Aug-03 17:19
Furty3-Aug-03 17:19 
GeneralModifying window without activating Pin
S O S3-Aug-03 2:26
S O S3-Aug-03 2:26 
GeneralTopmost windows Pin
S O S3-Aug-03 1:02
S O S3-Aug-03 1:02 
There's an always on top window in my app, but I have an annoying problem with it.
The window is just a normal window with TopMost set to true.
Now this works fine, but I want the window to dissappear if another app gets focus.
I tried pussing topwindow.Visible = true; in the Activate event and topwindow.Visible = false; in the Deactivate event, but these events get called even when another window in my app gets actiavted, so whenever I click on the topmost window, it dissappears because the main window gets deactivated.
Is there a way to prevent the topmost window from getting focus at all? (But still use it as normal, just no focus. By normal I mean still have it receive mouse clicks.)
Or some way to determine what window is getting focus in the Deactivate event?
Or some other way to fix this?
GeneralRe: Topmost windows Pin
LovelyXiaoXinXin3-Aug-03 3:02
LovelyXiaoXinXin3-Aug-03 3:02 
GeneralRe: Topmost windows Pin
S O S3-Aug-03 3:25
S O S3-Aug-03 3:25 
GeneralLock problem Pin
Meysam Mahfouzi2-Aug-03 23:03
Meysam Mahfouzi2-Aug-03 23:03 
GeneralRe: Lock problem Pin
Arjan Einbu3-Aug-03 4:32
Arjan Einbu3-Aug-03 4:32 
GeneralRe: Lock problem Pin
Meysam Mahfouzi3-Aug-03 16:42
Meysam Mahfouzi3-Aug-03 16:42 
GeneralRe: Lock problem Pin
James T. Johnson3-Aug-03 16:43
James T. Johnson3-Aug-03 16:43 
GeneralRe: Lock problem Pin
Meysam Mahfouzi3-Aug-03 16:54
Meysam Mahfouzi3-Aug-03 16:54 
GeneralRe: Lock problem Pin
James T. Johnson3-Aug-03 17:01
James T. Johnson3-Aug-03 17:01 
QuestionHow do I supress the Expect: 100-continue header from being sent with a HttpWebRequest Post? Pin
Furty2-Aug-03 19:43
Furty2-Aug-03 19:43 
GeneralRead and write in .INF file Pin
Hoang Dung2-Aug-03 16:59
Hoang Dung2-Aug-03 16:59 
GeneralRe: Read and write in .INF file Pin
Furty3-Aug-03 17:41
Furty3-Aug-03 17:41 
QuestionVB6/VB.NET Case Is < 0 in c# ??? Pin
Chua Wen Ching2-Aug-03 14:49
Chua Wen Ching2-Aug-03 14:49 
AnswerRe: VB6/VB.NET Case Is < 0 in c# ??? Pin
Marc Clifton2-Aug-03 15:04
mvaMarc Clifton2-Aug-03 15:04 
AnswerRe: VB6/VB.NET Case Is < 0 in c# ??? Pin
J. Dunlap2-Aug-03 15:08
J. Dunlap2-Aug-03 15:08 
GeneralRe: VB6/VB.NET Case Is &lt; 0 in c# ??? Pin
Marc Clifton2-Aug-03 15:09
mvaMarc Clifton2-Aug-03 15:09 
GeneralRe: VB6/VB.NET Case Is &lt; 0 in c# ??? Pin
J. Dunlap2-Aug-03 15:11
J. Dunlap2-Aug-03 15:11 
GeneralRe: VB6/VB.NET Case Is &lt; 0 in c# ??? Pin
Chua Wen Ching2-Aug-03 20:11
Chua Wen Ching2-Aug-03 20:11 

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.