Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Docking' One form to another?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00726906
Message ID:
00726945
Views:
13
David,

Because the Fax viewer form is about twice as long as the main form (it resized to take up all of the available width and what's left of the height on the screen), and our customer wants the ability to move it independently of the main form. Believe me, I'd prefer to do it that way.

>Scott,
>
>Why use two forms? If the fax viewer is a turned on/off kind of display, then why not just expand the form dynamically add a container to the form.
>
>>I've got two forms. The main form is just a basic record view, the secondary form is essentially a fax viewer (utilizing ImageMan ActiveX control). I want to 'Dock' the second form to the bottom of the first (ie, when the first one is moved, the second should move). I've got the two forms moving in unison, but what I cannot figure out is HOW to get to get the second form to be 'Always on Top' of the first form, but NOT the other forms in the program. I seem to recall a Windows API that could do this.. I belive it might have been SetWindowPos, in conjunction with the HWND_PARENT constant, but I cannot find any references to this.
Scott
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform