Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: control InvokeRequired() always necessary? Pin
Judah Gabriel Himango29-Jul-04 9:39
sponsorJudah Gabriel Himango29-Jul-04 9:39 
AnswerRe: control InvokeRequired() always necessary? Pin
Heath Stewart29-Jul-04 9:16
protectorHeath Stewart29-Jul-04 9:16 
GeneralInstantiating an array of objects Pin
crushinghellhammer29-Jul-04 8:11
crushinghellhammer29-Jul-04 8:11 
GeneralRe: Instantiating an array of objects Pin
Nick Parker29-Jul-04 9:11
protectorNick Parker29-Jul-04 9:11 
GeneralRe: Instantiating an array of objects Pin
crushinghellhammer29-Jul-04 9:32
crushinghellhammer29-Jul-04 9:32 
GeneralRe: Instantiating an array of objects Pin
Nick Parker29-Jul-04 10:11
protectorNick Parker29-Jul-04 10:11 
GeneralWM_PRINT for themed controls Pin
Mathew Hall29-Jul-04 6:31
Mathew Hall29-Jul-04 6:31 
GeneralRe: WM_PRINT for themed controls Pin
Heath Stewart29-Jul-04 9:25
protectorHeath Stewart29-Jul-04 9:25 
First, don't handle the WM_PAINT message. Override OnPaint for your controls (unless you're using an IMessageFilter or something) and use Control.SetStyle with the ControlStyles enumeration (read the .NET Framework SDK documentation for details) to control exactly what gets drawn.

If you don't want this code to run on Windows XP, use the Environment.Version property to determine on what platform and version of the OS the environment (the CLR) is running. Use that as a condition to executing certain code.

 

Microsoft MVP, Visual C#
My Articles
GeneralCalculating Point locations in relation to Parent client area. Pin
Tristan Rhodes29-Jul-04 6:27
Tristan Rhodes29-Jul-04 6:27 
GeneralRe: Calculating Point locations in relation to Parent client area. Pin
Nick Parker29-Jul-04 8:06
protectorNick Parker29-Jul-04 8:06 
GeneralRe: Calculating Point locations in relation to Parent client area. Pin
Anonymous30-Jul-04 13:42
Anonymous30-Jul-04 13:42 
GeneralCheckedListBox event handling strangeness Pin
James Kolpack29-Jul-04 5:32
James Kolpack29-Jul-04 5:32 
GeneralRe: CheckedListBox event handling strangeness Pin
Nick Parker29-Jul-04 8:01
protectorNick Parker29-Jul-04 8:01 
GeneralRe: CheckedListBox event handling strangeness Pin
James Kolpack29-Jul-04 8:31
James Kolpack29-Jul-04 8:31 
GeneralRe: CheckedListBox event handling strangeness Pin
James Kolpack29-Jul-04 11:12
James Kolpack29-Jul-04 11:12 
GeneralC# DataGrid - how to get the sort arrow in column header Pin
T J Manjaly29-Jul-04 5:03
sussT J Manjaly29-Jul-04 5:03 
GeneralColumn selection control needed Pin
Jan R Hansen29-Jul-04 4:38
Jan R Hansen29-Jul-04 4:38 
GeneralRe: Column selection control needed Pin
billb211229-Jul-04 4:52
billb211229-Jul-04 4:52 
GeneralRe: Column selection control needed Pin
Nick Parker29-Jul-04 5:33
protectorNick Parker29-Jul-04 5:33 
GeneralDns.GetHostByAddress problem Pin
Dave@keyspell29-Jul-04 4:12
sussDave@keyspell29-Jul-04 4:12 
GeneralRe: Dns.GetHostByAddress problem Pin
Heath Stewart29-Jul-04 4:41
protectorHeath Stewart29-Jul-04 4:41 
GeneralRe: Dns.GetHostByAddress problem Pin
Dave@keyspell29-Jul-04 5:31
sussDave@keyspell29-Jul-04 5:31 
QuestionHow to Export to CSV file from DataSet? Pin
HyVong29-Jul-04 3:11
HyVong29-Jul-04 3:11 
AnswerRe: How to Export to CSV file from DataSet? Pin
Not Active29-Jul-04 4:13
mentorNot Active29-Jul-04 4:13 
AnswerRe: How to Export to CSV file from DataSet? Pin
Michael P Butler29-Jul-04 4:35
Michael P Butler29-Jul-04 4:35 

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.