Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
GeneralWeb Cam Handle Still Hold By WMEncoder After Stop Called Pin
yccheok8-Dec-02 17:46
yccheok8-Dec-02 17:46 
GeneralHalt At Socket.Receive() Statement Pin
yccheok8-Dec-02 16:50
yccheok8-Dec-02 16:50 
QuestionHow to invoke DLL in C# Pin
Anonymous8-Dec-02 14:02
Anonymous8-Dec-02 14:02 
AnswerRe: How to invoke DLL in C# Pin
Eric Gunnerson (msft)9-Dec-02 12:46
Eric Gunnerson (msft)9-Dec-02 12:46 
GeneralProblem with double buffering in GDI+ Pin
djkno38-Dec-02 11:04
djkno38-Dec-02 11:04 
GeneralRe: Problem with double buffering in GDI+ Pin
Nick Parker8-Dec-02 12:16
protectorNick Parker8-Dec-02 12:16 
GeneralRe: Problem with double buffering in GDI+ Pin
djkno38-Dec-02 12:39
djkno38-Dec-02 12:39 
GeneralRe: Problem with double buffering in GDI+ Pin
Jon Rista8-Dec-02 13:08
Jon Rista8-Dec-02 13:08 
You have to do it like this:

SetStyle(ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true);

Each successive call to SetStyle eleminates the previous setting and changes it to the new one. So, essentially, your just calling SetStyle(ControlStyles.DoubleBuffer). Because double buffering has to be used in conjunction with UserPaint and AllPaintingInWmPaint, you get the error Invalid Argument Used. Using a bitwise or, you combine the values of all three into one setting.

Hope this helps.
GeneralLooking for samples how to write an IRC client in C# Pin
gicio8-Dec-02 10:17
gicio8-Dec-02 10:17 
GeneralRe: Looking for samples how to write an IRC client in C# Pin
leppie9-Dec-02 8:18
leppie9-Dec-02 8:18 
GeneralTreeView Context menus Pin
Dave Kerr8-Dec-02 5:36
Dave Kerr8-Dec-02 5:36 
GeneralRe: TreeView Context menus Pin
leppie8-Dec-02 9:58
leppie8-Dec-02 9:58 
Generaltotal beginner Pin
GaryR8-Dec-02 1:13
GaryR8-Dec-02 1:13 
GeneralRe: total beginner Pin
joan_fl8-Dec-02 2:18
joan_fl8-Dec-02 2:18 
GeneralRe: total beginner Pin
GaryR8-Dec-02 4:15
GaryR8-Dec-02 4:15 
Generalresource bitmap to imagelist Pin
peterchen8-Dec-02 0:10
peterchen8-Dec-02 0:10 
GeneralRe: resource bitmap to imagelist Pin
Jon Rista8-Dec-02 13:51
Jon Rista8-Dec-02 13:51 
GeneralCollections and the Collection Editor Pin
Dave Kerr7-Dec-02 23:57
Dave Kerr7-Dec-02 23:57 
GeneralRe: Collections and the Collection Editor Pin
leppie8-Dec-02 0:50
leppie8-Dec-02 0:50 
GeneralRe: Collections and the Collection Editor Pin
Dave Kerr8-Dec-02 2:12
Dave Kerr8-Dec-02 2:12 
GeneralRead Only Database in C# Pin
europria7-Dec-02 21:16
europria7-Dec-02 21:16 
QuestionHow to move a Splitter control? Pin
Bog7-Dec-02 18:34
Bog7-Dec-02 18:34 
AnswerRe: How to move a Splitter control? Pin
Donald Blachly8-Dec-02 6:24
Donald Blachly8-Dec-02 6:24 
GeneralRe: How to move a Splitter control? Pin
Bog9-Dec-02 10:55
Bog9-Dec-02 10:55 
GeneralRe: How to move a Splitter control? Pin
leppie9-Dec-02 11:43
leppie9-Dec-02 11:43 

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.