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

C#

 
AnswerRe: how do you use string from WWW-Authenticate header? Pin
Heath Stewart8-Mar-04 8:44
protectorHeath Stewart8-Mar-04 8:44 
GeneralI want Enter key to act like Tab key on a DataGrid Pin
mud778-Mar-04 7:26
mud778-Mar-04 7:26 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
Heath Stewart8-Mar-04 8:49
protectorHeath Stewart8-Mar-04 8:49 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
mud778-Mar-04 10:02
mud778-Mar-04 10:02 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
Heath Stewart8-Mar-04 10:27
protectorHeath Stewart8-Mar-04 10:27 
GeneralThanks Heath I will try that Pin
mud778-Mar-04 11:56
mud778-Mar-04 11:56 
Generalmoving mdi child forms Pin
HappyPaws8-Mar-04 4:00
HappyPaws8-Mar-04 4:00 
GeneralRe: moving mdi child forms Pin
Heath Stewart8-Mar-04 4:45
protectorHeath Stewart8-Mar-04 4:45 
Moving a window is not a drag and drop action, as in dragging files and other objects. It's simply a windowing action that updates the coordinates, invalidates the necessary regions, and re-paints the form and the old background region. No DND events would be fired.

If you don't want your MDI child windows to be moved, then you probably shouldn't be using MDI. The whole purpose of MDI is to have child windows within a parent window that act like any other windows. The only way to disable movement is to handle the mouse events and while the mouse is down, retain the coordinates in the MouseMove event, which isn't easy. You can also override WndProc and handle the windows notification messages, canceling them if possible (and it isn't always possible). For this, you need to read about the Windows Management APIs in the Platform SDK at http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing.asp[^].

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: moving mdi child forms Pin
LongRange.Shooter9-Mar-04 10:26
LongRange.Shooter9-Mar-04 10:26 
Generalmusic files Pin
jphuphilly8-Mar-04 2:57
jphuphilly8-Mar-04 2:57 
GeneralRe: music files Pin
Peter Greenall8-Mar-04 12:07
Peter Greenall8-Mar-04 12:07 
QuestionOutlook and word reference?? Pin
Reinier van de Wetering7-Mar-04 23:37
Reinier van de Wetering7-Mar-04 23:37 
AnswerRe: Outlook and word reference?? Pin
fnm8-Mar-04 3:18
fnm8-Mar-04 3:18 
AnswerRe: Outlook and word reference?? Pin
Heath Stewart8-Mar-04 4:39
protectorHeath Stewart8-Mar-04 4:39 
QuestionHow to fire KeyDown Event while pressing TAB key Pin
esupport7-Mar-04 23:13
esupport7-Mar-04 23:13 
AnswerRe: How to fire KeyDown Event while pressing TAB key Pin
Heath Stewart8-Mar-04 4:34
protectorHeath Stewart8-Mar-04 4:34 
GeneralRe: How to fire KeyDown Event while pressing TAB key Pin
esupport8-Mar-04 16:57
esupport8-Mar-04 16:57 
GeneralCreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett7-Mar-04 20:39
Matthew Hazlett7-Mar-04 20:39 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Nick Parker8-Mar-04 3:13
protectorNick Parker8-Mar-04 3:13 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 9:05
Matthew Hazlett8-Mar-04 9:05 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 15:06
Matthew Hazlett8-Mar-04 15:06 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Nick Parker8-Mar-04 17:44
protectorNick Parker8-Mar-04 17:44 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 18:45
Matthew Hazlett8-Mar-04 18:45 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Heath Stewart8-Mar-04 4:28
protectorHeath Stewart8-Mar-04 4:28 
GeneralRe: CreateInstanceAndUnwrap -- File or Dependency Not Found Pin
Matthew Hazlett8-Mar-04 9:07
Matthew Hazlett8-Mar-04 9:07 

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.