Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Highlight listbox item on mouseover Pin
keith maddox4-May-05 10:15
keith maddox4-May-05 10:15 
GeneralSummary question Pin
Pauwl3-May-05 2:54
Pauwl3-May-05 2:54 
GeneralRe: Summary question Pin
MoustafaS3-May-05 5:28
MoustafaS3-May-05 5:28 
GeneralRe: Summary question Pin
Pauwl3-May-05 20:22
Pauwl3-May-05 20:22 
GeneralRe: Summary question Pin
Pauwl4-May-05 2:44
Pauwl4-May-05 2:44 
Generalconvert VB.net into C# Pin
anj19833-May-05 2:48
anj19833-May-05 2:48 
GeneralRe: convert VB.net into C# Pin
MoustafaS3-May-05 5:38
MoustafaS3-May-05 5:38 
GeneralRe: convert VB.net into C# Pin
Dave Doknjas3-May-05 14:12
Dave Doknjas3-May-05 14:12 
GeneralTapi Pin
SujithNarayanannair3-May-05 2:41
SujithNarayanannair3-May-05 2:41 
GeneralCustom extention in C# Pin
Navees Ahmed3-May-05 1:57
Navees Ahmed3-May-05 1:57 
GeneralRe: Custom extention in C# Pin
Roger Stewart3-May-05 3:17
professionalRoger Stewart3-May-05 3:17 
GeneralHelp -- Tool Bar Control Pin
Umair Tariq3-May-05 1:05
Umair Tariq3-May-05 1:05 
GeneralRe: Help -- Tool Bar Control Pin
keith maddox4-May-05 10:19
keith maddox4-May-05 10:19 
GeneralName of local machine Pin
Andy *M*3-May-05 0:34
Andy *M*3-May-05 0:34 

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.