Re: Positioning a window
From: Arlis Rose (arlisATendevouraerospace.com)
Date: 11/19/04
- Next message: mao: "Re: USB"
- Previous message: news.videotron.ca: "Re: Treeview transparent background?"
- In reply to: txemuki: "Positioning a window"
- Next in thread: Ajay Kalra: "Re: Positioning a window"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 19 Nov 2004 12:42:27 -0500
If you have access to the class's methods, just try something like,
this->SetWindowPos(NULL, 0, 0, 750, 600, SW_SHOW);
(heh works for me) LoL...don't even think you need the this-> actually, so
long as your accessing the method from within it's own class.
"txemuki" <txemasm@hotmail.com> wrote in message
news:c7c2fe26.0411190035.38baea72@posting.google.com...
> Hello,
>
> I know that the way to open an ie window is the next one:
>
> CString strUrl = "http://www.msdnbrasil.com.br/";
> if(ShellExecute(miHandle, "open", strUrl, NULL, NULL, SW_SHOWNORMAL)
> <= HINSTANCE(32))
> {
> //erro
> }
>
> but I need to change its position and size. I've tried SetWindowPos,
> but I can't guess the first parameter. Can someone help me? Thanks in
> advance.
- Next message: mao: "Re: USB"
- Previous message: news.videotron.ca: "Re: Treeview transparent background?"
- In reply to: txemuki: "Positioning a window"
- Next in thread: Ajay Kalra: "Re: Positioning a window"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|