Click here to Skip to main content
15,905,781 members
Home / Discussions / C#
   

C#

 
GeneralRe: Crystal Report fields Pin
..Hubert..29-Apr-04 22:55
..Hubert..29-Apr-04 22:55 
GeneralRe: Crystal Report fields Pin
hassan azizi1-May-04 7:51
hassan azizi1-May-04 7:51 
GeneralWeb request from Windows Forms user control Pin
Shree29-Apr-04 17:32
Shree29-Apr-04 17:32 
GeneralRe: Web request from Windows Forms user control Pin
Heath Stewart30-Apr-04 3:28
protectorHeath Stewart30-Apr-04 3:28 
Generalip address Pin
kendao29-Apr-04 15:37
kendao29-Apr-04 15:37 
GeneralRe: ip address Pin
Corinna John29-Apr-04 22:31
Corinna John29-Apr-04 22:31 
GeneralTo handle list view column width change Pin
machocr29-Apr-04 14:09
machocr29-Apr-04 14:09 
GeneralRe: To handle list view column width change Pin
Heath Stewart29-Apr-04 14:30
protectorHeath Stewart29-Apr-04 14:30 
GeneralRe: To handle list view column width change Pin
machocr29-Apr-04 14:51
machocr29-Apr-04 14:51 
GeneralRe: To handle list view column width change Pin
machocr29-Apr-04 15:08
machocr29-Apr-04 15:08 
GeneralRe: To handle list view column width change Pin
Heath Stewart30-Apr-04 3:23
protectorHeath Stewart30-Apr-04 3:23 
GeneralRe: To handle list view column width change Pin
machocr30-Apr-04 4:58
machocr30-Apr-04 4:58 
GeneralRe: To handle list view column width change Pin
Heath Stewart30-Apr-04 5:18
protectorHeath Stewart30-Apr-04 5:18 
The biggest change is that you must call base.WndProc after setting Message.Result to either TRUE (to allow resizing) or FALSE (to deny resizing). You do this by setting Result to new IntPtr(0) for FALSE, and new IntPtr(1) for TRUE (or define these as read-only fields, whatever you prefer). If you call base.WndProc first, the message is processed and the resizing is allowed. Besides the messages being defined to different values, the original code I posted is pretty much the same.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: To handle list view column width change Pin
machocr30-Apr-04 6:14
machocr30-Apr-04 6:14 
GeneralRe: To handle list view column width change Pin
Heath Stewart30-Apr-04 6:29
protectorHeath Stewart30-Apr-04 6:29 
GeneralRe: To handle list view column width change Pin
Heath Stewart30-Apr-04 5:39
protectorHeath Stewart30-Apr-04 5:39 
GeneralID3 algorithm Pin
Member 75113929-Apr-04 10:14
Member 75113929-Apr-04 10:14 
GeneralRe: ID3 algorithm Pin
Heath Stewart29-Apr-04 10:34
protectorHeath Stewart29-Apr-04 10:34 
GeneralRun time change Pin
boruk29-Apr-04 10:09
boruk29-Apr-04 10:09 
GeneralRe: Run time change Pin
Heath Stewart29-Apr-04 10:26
protectorHeath Stewart29-Apr-04 10:26 
QuestionHow to make the return key to click the OK button? Pin
Daniel Stagg29-Apr-04 8:50
Daniel Stagg29-Apr-04 8:50 
AnswerRe: How to make the return key to click the OK button? Pin
Dave Kreskowiak29-Apr-04 8:55
mveDave Kreskowiak29-Apr-04 8:55 
GeneralRe: How to make the return key to click the OK button? Pin
Heath Stewart29-Apr-04 9:24
protectorHeath Stewart29-Apr-04 9:24 
GeneralSocket Chat?! Pin
Morten Kristensen29-Apr-04 7:50
Morten Kristensen29-Apr-04 7:50 
GeneralRe: Socket Chat?! Pin
Heath Stewart29-Apr-04 8:36
protectorHeath Stewart29-Apr-04 8:36 

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.