Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing container in design mode
Message
 
To
09/09/2002 15:12:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00697930
Message ID:
00698501
Views:
24
Alex,

thanks for your suggestion.

I tried ShowWindow with _VFP and _SCREEN.Hwnd but it didn't help. I know I could find out the class designer window handle, but I think that repainting the parent window this way should also repaint all child windows, so I didn't make the effort.

I've submitted the issue to MS some minutes ago ...

Regards,
Armin

>Hi Armin,
>
>Try the following:
>
>
Declare Integer ShowWindow In Win32API Integer, Integer
>ShowWindow( wboForm.hWnd, 0)
>ShowWindow( wboForm.hWnd, 1)
>
>HTH
>
>>Hi,
>>
>>I'm currently writing a builder for a container class and have the following question. It's not a problem for me at the moment, but I'm just curious how this behaviour could be avoided.
>>
>>If I resize the container that's opened in the class designer using the Height/Width properties or the Move method, the container itself is not resized visually. That means, instead a green rectangle of the new size is shown inside the container. After saving, closing and reopening the class the container is being shown in the correct new size.
>>
>>Is there any way to refresh the class designer in order to display the container in it's correct new size immediately?
>>
>>(VFP7 SP1)
>>
>>Thanks,
>>Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform