MDI Form min and close button action interchanged |
Post Reply |
Author | |
satyakvv
Groupie Joined: 07 July 2008 Location: India Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 22 November 2011 at 11:14am |
I have an MDI form and a modeless form is open. The modeless form has a web browser control and some text boxes. When the focus is in the web browser control , if I click the MDI minimize button, it is firing the 'close' action. And, if I click the close button, it is firing the minimize event. The problem does not occur when the modeless form is not active.
Using SkinFramework 15.1.3 in VB6.0 on Windows 7 (32/64 bit). Has anyone faced a similar issue ?
|
|
snayaks
Newbie Joined: 01 October 2008 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Yes
I am also facing same problem Please find attached VB6 stub from following link https://support.codejock.com/Attachments/20111214-062626_VB6SkinIssue.zip 1. Run Project1.exe 2. Click "create MDI child" button 3. click "Create Modeless Window" button 4. Now Minimize the MDI window. Issue : Instead of minimizing, the MDI is getting closed. Note : Repeat the steps in the same order. |
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
If you first activate the MDI form and then minimize it, it won't close.
If you replace the MDIForm1.Launchme line in Form1 to Form2.Show it minimizes the modeles form instead of the MDI form. It sends the minimize event to the active form. Even if the button has been clicked on a different form.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
satyakvv
Groupie Joined: 07 July 2008 Location: India Status: Offline Points: 10 |
Post Options
Thanks(0)
|
The behavior is not as expected for a normal windows application. You can check the same without calling LoadSkin. Now, the form gets minimized properly instead of getting closed. This looks like a bug with the SkinFramework control.
|
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
Have you tried using different skins? Does that solve the problem? I'm not sure if it's possible to be a skin problem instead of a control problem.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
satyakvv
Groupie Joined: 07 July 2008 Location: India Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Tried with the default XP skin as well as some new Vista/Win 7 skins.. all have the same behavior.
It is very odd that the Minimize button behaves like Close vice versa.. that too only in this scenario where a non-mdi child form in an MDI app causes this issue.. Hope to get some reply from Oleg...
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |