Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
GeneralRe: also Pin
LongRange.Shooter28-Mar-03 4:32
LongRange.Shooter28-Mar-03 4:32 
AnswerRe: Javascript communication with System.Form? Pin
LongRange.Shooter9-Apr-03 10:04
LongRange.Shooter9-Apr-03 10:04 
GeneralXP Style buttons Pin
Sovman13-Mar-03 10:39
Sovman13-Mar-03 10:39 
GeneralRe: XP Style buttons Pin
Poolbeer14-Mar-03 2:26
Poolbeer14-Mar-03 2:26 
GeneralRe: XP Style buttons Pin
Sovman14-Mar-03 5:51
Sovman14-Mar-03 5:51 
GeneralSelect Boxes or Inverse Color Pens Pin
Anonymous13-Mar-03 10:14
Anonymous13-Mar-03 10:14 
GeneralRe: Select Boxes or Inverse Color Pens Pin
Chris Jobson13-Mar-03 11:14
Chris Jobson13-Mar-03 11:14 
GeneralModeless Dialogs Pin
Jeff J13-Mar-03 8:05
Jeff J13-Mar-03 8:05 
Has anyone succeeded in spawning a modeless dialog that stays on top of the main form, but that does not just stay on top of every window in the shell? That is, behaviour identical to Find/Replace dialogs in VS and Office.


In C++ this is routine, but in .Net I have failed when:

1) Setting dialog's TopLevel to false, and making dialog a child of main form. This only allows rendering the dialog within the client area of the main form, of course, since it is treated as a non-form child control.

2) Using Win32 API SetParent() and SetWindowPos() directly. The dialog freezes and paints garbage. CLR does not recognise Windows' way of setting parent-child relationships, I suspect, and proper message handling requires the dialog to be in the parent's collection.


I am investigating some wild hacks, but would appreciate it if anyone has insights on this.

TIA
GeneralRe: Modeless Dialogs Pin
Chris Jobson13-Mar-03 10:56
Chris Jobson13-Mar-03 10:56 
GeneralRe: Modeless Dialogs Pin
James T. Johnson13-Mar-03 11:19
James T. Johnson13-Mar-03 11:19 
GeneralRe: Modeless Dialogs Pin
Jeff J13-Mar-03 11:58
Jeff J13-Mar-03 11:58 
GeneralRe: Modeless Dialogs Pin
Jeff J13-Mar-03 11:56
Jeff J13-Mar-03 11:56 
GeneralManaged C# Compiler question Pin
LongRange.Shooter13-Mar-03 6:43
LongRange.Shooter13-Mar-03 6:43 
GeneralRe: Managed C# Compiler question Pin
Robert Hinrichs13-Mar-03 8:52
Robert Hinrichs13-Mar-03 8:52 
GeneralRe: Managed C# Compiler question Pin
LongRange.Shooter13-Mar-03 10:55
LongRange.Shooter13-Mar-03 10:55 
GeneralRe: Managed C# Compiler question Pin
leppie13-Mar-03 10:20
leppie13-Mar-03 10:20 
GeneralRe: Managed C# Compiler question Pin
LongRange.Shooter13-Mar-03 10:53
LongRange.Shooter13-Mar-03 10:53 
GeneralRe: Managed C# Compiler question Pin
LongRange.Shooter19-Mar-03 10:29
LongRange.Shooter19-Mar-03 10:29 
QuestionSending commands between Windows applications? Pin
Kryal13-Mar-03 6:13
Kryal13-Mar-03 6:13 
AnswerRe: Sending commands between Windows applications? Pin
Davy Mitchell13-Mar-03 22:02
Davy Mitchell13-Mar-03 22:02 
QuestionHow to create global variables in C#? Pin
Vitaliy Vorontsov13-Mar-03 6:10
Vitaliy Vorontsov13-Mar-03 6:10 
AnswerRe: How to create global variables in C#? Pin
leppie13-Mar-03 6:36
leppie13-Mar-03 6:36 
AnswerRe: How to create global variables in C#? Pin
Xiangyang Liu 刘向阳13-Mar-03 6:40
Xiangyang Liu 刘向阳13-Mar-03 6:40 
AnswerRe: How to create global variables in C#? Pin
kaschimer13-Mar-03 6:40
kaschimer13-Mar-03 6:40 
AnswerRe: How to create global variables in C#? Pin
Robert Hinrichs13-Mar-03 7:45
Robert Hinrichs13-Mar-03 7:45 

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.