Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
GeneralRe: Games and depth of objects - help =) Pin
Anthony Mushrow3-May-05 20:46
professionalAnthony Mushrow3-May-05 20:46 
GeneralRe: Games and depth of objects - help =) Pin
Anonymous3-May-05 8:30
Anonymous3-May-05 8:30 
GeneralPiping data when using Process class Pin
CTaylor893-May-05 7:41
CTaylor893-May-05 7:41 
GeneralRe: Piping data when using Process class Pin
CTaylor893-May-05 11:48
CTaylor893-May-05 11:48 
GeneralKeep additional information inside a "serial number" Pin
eclipse2k13-May-05 7:33
eclipse2k13-May-05 7:33 
GeneralRe: Keep additional information inside a "serial number" Pin
mav.northwind3-May-05 23:36
mav.northwind3-May-05 23:36 
GeneralRe: Keep additional information inside a "serial number" Pin
eclipse2k14-May-05 1:57
eclipse2k14-May-05 1:57 
GeneralRe: Keep additional information inside a "serial number" Pin
mav.northwind4-May-05 3:24
mav.northwind4-May-05 3:24 
GeneralRe: Keep additional information inside a "serial number" Pin
eclipse2k14-May-05 3:43
eclipse2k14-May-05 3:43 
GeneralStrip Non-Numeric characters from string Pin
RadioButton3-May-05 7:20
RadioButton3-May-05 7:20 
GeneralRe: Strip Non-Numeric characters from string Pin
Judah Gabriel Himango3-May-05 8:27
sponsorJudah Gabriel Himango3-May-05 8:27 
GeneralRichTextControl and Unicode problems with russian characters Pin
Uwe Keim3-May-05 6:40
sitebuilderUwe Keim3-May-05 6:40 
GeneralRe: RichTextControl and Unicode problems with russian characters Pin
Judah Gabriel Himango3-May-05 8:10
sponsorJudah Gabriel Himango3-May-05 8:10 
GeneralRe: RichTextControl and Unicode problems with russian characters Pin
Uwe Keim3-May-05 8:44
sitebuilderUwe Keim3-May-05 8:44 
GeneralRe: RichTextControl and Unicode problems with russian characters Pin
mav.northwind3-May-05 23:41
mav.northwind3-May-05 23:41 
GeneralRe: RichTextControl and Unicode problems with russian characters Pin
Uwe Keim4-May-05 0:39
sitebuilderUwe Keim4-May-05 0:39 
QuestionProcedure line separator? Pin
Carl Mercier3-May-05 6:22
Carl Mercier3-May-05 6:22 
GeneralManaging controls added at runtime Pin
Anonymous3-May-05 5:07
Anonymous3-May-05 5:07 
GeneralRe: Managing controls added at runtime Pin
MoustafaS3-May-05 5:18
MoustafaS3-May-05 5:18 
GeneralPrinting HTML from memory no User interaction Pin
gjvh3-May-05 4:29
gjvh3-May-05 4:29 
GeneralDouble buffering an entire form... Pin
MynaBay3-May-05 4:23
MynaBay3-May-05 4:23 
GeneralRe: Double buffering an entire form... Pin
Gil.Schmidt3-May-05 4:57
Gil.Schmidt3-May-05 4:57 
try this code i got no flickering after using it (pass the function the listview handle)

public enum LVS_EX
{
LVS_EX_GRIDLINES =0x00000001,
LVS_EX_SUBITEMIMAGES =0x00000002,
LVS_EX_CHECKBOXES =0x00000004,
LVS_EX_TRACKSELECT =0x00000008,
LVS_EX_HEADERDRAGDROP =0x00000010,
LVS_EX_FULLROWSELECT =0x00000020,
LVS_EX_ONECLICKACTIVATE =0x00000040,
LVS_EX_TWOCLICKACTIVATE =0x00000080,
LVS_EX_FLATSB =0x00000100,
LVS_EX_REGIONAL =0x00000200,
LVS_EX_INFOTIP =0x00000400,
LVS_EX_UNDERLINEHOT =0x00000800,
LVS_EX_UNDERLINECOLD =0x00001000,
LVS_EX_MULTIWORKAREAS =0x00002000,
LVS_EX_LABELTIP =0x00004000,
LVS_EX_BORDERSELECT =0x00008000,
LVS_EX_DOUBLEBUFFER =0x00010000,
LVS_EX_HIDELABELS =0x00020000,
LVS_EX_SINGLEROW =0x00040000,
LVS_EX_SNAPTOGRID =0x00080000,
LVS_EX_SIMPLESELECT =0x00100000
}

public enum LVM
{
LVM_FIRST =0x1000,
LVM_SETEXTENDEDLISTVIEWSTYLE=(LVM_FIRST + 54),
LVM_GETEXTENDEDLISTVIEWSTYLE=(LVM_FIRST + 55),
}

public class Extended
{
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int SendMessage(IntPtr handle, int messg, int wparam, int lparam);

public static void SetExStyles(IntPtr Handle)
{
LVS_EX styles;
styles = (LVS_EX)SendMessage(Handle, (int) LVM.LVM_GETEXTENDEDLISTVIEWSTYLE, 0,0);
styles |= LVS_EX.LVS_EX_DOUBLEBUFFER | LVS_EX.LVS_EX_BORDERSELECT;
SendMessage(Handle, (int) LVM.LVM_SETEXTENDEDLISTVIEWSTYLE, 0, (int) styles);
}
}

GeneralBeginner Problems Pin
dbuggerusa3-May-05 3:57
dbuggerusa3-May-05 3:57 
GeneralRe: Beginner Problems Pin
Dwayner793-May-05 4:34
Dwayner793-May-05 4:34 
GeneralHighlight listbox item on mouseover Pin
Dwayner793-May-05 3:55
Dwayner793-May-05 3:55 

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.