此帖出自WindowsCE论坛
最新回复
各处检查下来感觉都对呀,可就是显示不出icon
我用的CreateWindowEx
DWORD ex_style = dc->fullscreen ? WS_EX_TOPMOST : 0;
DWORD style = dc->fullscreen
? /*WS_VISIBLE*/ WS_POPUP
#if 1
: WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_SIZEBOX;
#else
: WS_POPUP;
#endif
RECT rect;
/* Set rect to requested client rect */
SetRect(&rect, dc->posx, dc->posy, dc->posx + dc->width, dc->posy + dc->height);
/* Set rect to window rect */
AdjustWindowRectEx(&rect, style, FALSE, ex_style);
rte->hwnd = CreateWindowEx(
ex_style,
TEXT("test"),
TEXT("test"),
style,
rect.left,
rect.top,
rect.right - rect.left,
rect.bottom - rect.top,
NULL,
NULL,
rte->hinstance,
NULL
);
详情
回复
发表于 2010-3-30 14:49
| ||
|
||
| |
|
|
| |
|
|
此帖出自WindowsCE论坛
| ||
|
||
此帖出自WindowsCE论坛
| ||
|
||
此帖出自WindowsCE论坛
| ||
|
||
此帖出自WindowsCE论坛
| ||
|
||
EEWorld Datasheet 技术支持