Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: zorder and show form

104| Fri, 30 Nov 2007 10:01:00 GMT| bzemer| Comments (1)
hello,
i have 2 forms that i want to display in 2 different ways.

form1 shows form2 with vbmodal as default.
then on form2 i have a check button thay says: 'always on top'.

when you click on it you change the default setting either to on top or not on top.
i only managed to get this work after reloading form2 from withing the program (at realtime) because i use:

form2.show 1 ' vbmodal
form2.show 0

so how can i make the change without reloading form2?

thanks..

Keywords & Tags: zorder, form, microsoft, visual basic, vb

URL: http://programmerbase.com/visual-basic/560834/
 
«« Prev - Next »» 1 helpful answers below.
Perhaps you can try the SetWindowLong API function.

chris | Tue, 04 Dec 2007 10:45:00 GMT |

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories