I've never tried what you're doing, but my gut feeling is that you're going
to have to just put your user control in a form (VB not Windows Forms) or
make it a windowed control.

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

"Mikey" <Mikey@discussions.microsoft.com> wrote in message
news:9C2A5335-CE22-4240-8F7C-00E872A28D81@microsoft.com...
> Yep, I got the hwnd from Spy+ and tried setfocus, setforeground,
> enablewindow, sending various messages that I thought might have anything
> to
> do with it via sendmessage...I hit all my buttons. I checked
> IsWindowEnabled
> api and it returned true. I'm using vb6. Correct me if I'm wrong, but I
> dont
> think the windows form option is readily available to me. Thanks.
14 Jan 2008windowless usercontrol and focus issue.Mikey
14 Jan 2008\ Re: windowless usercontrol and focus issue.Ken Slovak - [MVP - O...
14 Jan 2008   \ Re: windowless usercontrol and focus issue.Mikey
14 Jan 2008      \ Re: windowless usercontrol and focus issue.Ken Slovak - [MVP - O...
All times are in (US) Eastern Daylight Time (GMT -4:00)