Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Form on top
User304

Posts: 5
Member Since: 12/16/01
posted January 21, 2002 1:45 PM

I wrote a small progam that has one form that I would like on top at all times. I added the following:

SetWindowPos(frmMain.handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE or SWP_NOMOVE or SWP_NOSIZE);

This works great If I have the following line commented out:
frmMain.httpRR.Post(Data, dartRequestHeaders, ovResponseData, dartResponseHeaders, User, Password);

But when it is not commented out the form is not on top.


  
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted January 21, 2002 5:36 PM


Hi,
I'm sorry, I don't know what you can do about that.
It probably has something to do with wininet (which has its own window associated with it).
Sorry I don't have a better answer,
-ken

K M Drake
Dart Tech Support
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX