Re: Weird thing on CreateWindowsEx
From: kaiduan (anonymous_at_discussions.microsoft.com)
Date: 02/17/04
- Next message: Gary Chanson: "Re: How to repaint view window"
- Previous message: Marius: "Re: Listening to mouse events across process"
- In reply to: Jeff Partch: "Re: Weird thing on CreateWindowsEx"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 17 Feb 2004 12:31:07 -0800
Jeff,
The position is arranged in other function for WM_SIZE command. Thanks a lot.
kaiduan
----- Jeff Partch wrote: -----
"kaiduan" <anonymous@discussions.microsoft.com> wrote in message
news:67F6BFD2-118A-4CA8-B7F2-79053CD7B700@microsoft.com...
> Jeff,
>> Actually I tried many kinds of control, no one was displayed on the
screen. "Doesnot work" means that the new added control wasnot displayed on
the screen.
>> For the original four controls, it always displays like as follow:
>> ------------------------------------------------
> | Listview |
> |-----------------------------------------------|
> | RICHEDIT display |
> | |
> | |
> |----------------------------------------------|
> | RICHEDIT edit | BUTTON |
> |----------------------------|-----------------|
>>> Thanks,
>> kaiduan
>> CreateWindowExW(
> WS_EX_CLIENTEDGE,
> TRACKBAR_CLASS,
> L"Tackball",
> WS_CHILD | WS_VISIBLE,// | WS_CLIPSIBLINGS,
> 0,0,
> 0,0,
> m_hWnd,
> (HMENU)IDC_SPK_VOL,
> GetModuleHandle(NULL),
> NULL);
The only thing I can think of is that these controls are being sized and
positioned elsewhere in the code. Is there any chance of that?
--
Jeff Partch [VC++ MVP]
- Next message: Gary Chanson: "Re: How to repaint view window"
- Previous message: Marius: "Re: Listening to mouse events across process"
- In reply to: Jeff Partch: "Re: Weird thing on CreateWindowsEx"
- Messages sorted by: [ date ] [ thread ]