Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
07.07.2003, 08:49
|
|||
---|---|---|---|
|
|||
Стандартный 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. ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=20&tablet=1&tid=1440082]: |
0ms |
get settings: |
8ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
28ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
27ms |
get tp. blocked users: |
1ms |
others: | 279ms |
total: | 375ms |
0 / 0 |