Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't restoring minimized window - Is it bug?
Message
From
01/08/2003 00:22:40
 
 
To
31/07/2003 17:39:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00815569
Message ID:
00815741
Views:
17
Well, I don't know. I don't have such a button, and I don't have any button that looks like what you described. I do have 'Show Desktop' on the task bar right-click menu, but like I posted in another note, when I click that, everything minimizes - even the test form. Being that it's a desktop form, I don't understand why it wouldn't minimize, and that being the case, how does one minimize it manually after clicking 'Show Desktop'?

I wonder if it has to do with some settings somewhere.

Alan

>Mainly for Alan, who I cc'ed
>
>I think it can be in different places IN THAT AREA (right beside the Start 'button'.
>
>I often confuse mine with OutLook Express' icon there.
>
>The "Show Desktop" icon looks to me like a square in a square with a 'dart' in smaller square.
>
>cheers
>>What is the name of the icon right beside the START button, bottom of the desktop? (If you click on it, all opened window close down into the app.bar)
>>I have hungarian Win2K, so I do not know the exact english phrase of the name for this button.
>>
>>bb
>>
>>>What version of Windows are you using. I can't reproduce the problem with VFP8 on WinXP. Also, I don't have a "Show/Hide Desktop" button, but I do have a right click "Minimize all" menu item.
>>>
>>>Alan
>>>
>>>>Dear All!
>>>>
>>>>Please confirm this strange VFP behaviour:
>>>>
>>>>if a top-level window is minimized by the taskbar "Show/hide desktop" button, then it is impossible to restore the form to its original size and position programatically. Instead the form will be displayed as a very small "Titlebar only" window.
>>>>Important: it is reproduceable in the case only, if you follow these steps. Other way, like clicking on the Min button, you cannot reproduce this bug.
>>>>
>>>>Steps to reproduce:
>>>>
>>>>1. Create a new form. Set ShowWindow to 2 (As Top-level) and Autocenter to .T.
>>>>2. Put a disabled timer on it, with 5000ms interval. Let the name of it: ShowAgainTimer
>>>> The timer event contains the following:
>>>>
>>>> this.enabled=.F.
>>>> if thisform.WindowState=1
>>>> thisform.WindowState=0
>>>> endif
>>>>
>>>>3. Put into the form Resize event the followings:
>>>>
>>>> if thisform.WindowState=1
>>>> thisform.ShowAgainTimer.enabled=.T.
>>>> endif
>>>>
>>>>4. Save the form, and run it. The form willbe shown up in the center of the desktop.
>>>>
>>>>5. Click on the taskbar "Show/hide desktop" button. Notice that all window will be minimezed into the taskbar.
>>>> (The test form's timer will be fired in 5sec and it will try to restore the vfp form)
>>>> But the VFP form wil not be restored to its original size and position, instead it will be shown as a very smallsized window on the left upper corner of the Windows desktop.
>>>>
>>>>
>>>>I have checked on VFP6 and VFP8.
>>>>(The credit for discovering this strange bug/feature goes to Mr Curt Burdick.)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform