VB6 program fails to un-minimize itself

Questions about Wine on Linux
Locked
Lope
Level 1
Level 1
Posts: 7
Joined: Mon Aug 05, 2013 11:28 am

VB6 program fails to un-minimize itself

Post by Lope »

One of the little apps I've written in VB6 has the following use case.
1 you use it.
2 you minimize it
3 when its ready, it un-minimizes itself.

What it actually does is it sets it's windowstate to 0 (means not minimized) then sets it's window position to HWND_TOPMOST
then it sets its window position to HWND_NOTOPMOST.

So that it brings itself ontop of other windows, but doesn't lock itself ontop of other windows permanently.
(basically it gets your attention)

Its not popping up.
Running Mate 1.6.0 on Mint 15 x64.

------------------

Should I provide a test-app and submit a bug report?
Lope
Level 1
Level 1
Posts: 7
Joined: Mon Aug 05, 2013 11:28 am

Re: VB6 program fails to un-minimize itself

Post by Lope »

I've created a test program to demonstrate the problem
Here is a tar gz file containing VB source files and the compiled exe.
http://www.4shared.com/file/wRtm4LGL/Popup_test.html

If you'd like to create the program yourself just create a new form then add a timer, textbox and button (named tmrPopup, txtPopupDelay and a cmdTestPopup)
Then paste this code
http://pastebin.com/6i9F3pr9
Lope
Level 1
Level 1
Posts: 7
Joined: Mon Aug 05, 2013 11:28 am

Re: VB6 program fails to un-minimize itself

Post by Lope »

BTW, I'm running wine 1.6.
Lope
Level 1
Level 1
Posts: 7
Joined: Mon Aug 05, 2013 11:28 am

Re: VB6 program fails to un-minimize itself

Post by Lope »

bump
User avatar
dimesio
Moderator
Moderator
Posts: 13211
Joined: Tue Mar 25, 2008 10:30 pm

Re: VB6 program fails to un-minimize itself

Post by dimesio »

Search bugzilla to see if this is a known issue, and if not, file a bug and attach your testcase.
Lope
Level 1
Level 1
Posts: 7
Joined: Mon Aug 05, 2013 11:28 am

Re: VB6 program fails to un-minimize itself

Post by Lope »

Locked