|
Стандартный Win контрол - собственными силами
|
|||
---|---|---|---|
#18+
Hi All. Хочу создать стандартный Win контрол - "buton", "listview" и т.д. public class ListView : System.Windows.Forms.Control { protected override CreateParams CreateParams { get{ const int WS_TABSTOP = 0x00010000; const int WS_CHILD = 0x40000000; const int WS_BORDER = 0x00800000; const int WS_VISIBLE = 0x10000000; const int LVS_AUTOARRANGE = 0x00000100; const int LVS_REPORT = 0x00000003; const int LVS_OWNERDATA = 0x00001000; const int WS_EX_CLIENTEDGE = 0x00000200; CreateParams ControlParams = base.CreateParams; ControlParams.ClassName = "SysListView32"; ControlParams.ExStyle = WS_EX_CLIENTEDGE; ControlParams.Style = WS_TABSTOP | WS_CHILD | WS_BORDER | WS_VISIBLE | LVS_AUTOARRANGE | LVS_REPORT | LVS_OWNERDATA; return ControlParams; } } } Куда идти дальше? P.S. Задача имеет свой целью - понимание внутренних механизмов работы WinForms. ... |
|||
:
Нравится:
Не нравится:
|
|||
07.07.2003, 08:49 |
|
|
start [/forum/topic.php?fid=20&tid=1440082]: |
0ms |
get settings: |
8ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
36ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
27ms |
get tp. blocked users: |
1ms |
others: | 276ms |
total: | 384ms |
0 / 0 |