ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Constants for managing windows
ConstantDescriptionUsed by the functions
DefaultConfigure the sizeWinSize
effectAnimationDisables the animations of the windows.WinDisableEffect
effectBlurDisables the halo around the buttons.WinDisableEffect
effectDDWDisables the DDW feature.WinDisableEffect
effectTranslucentBorderDisables the translucent border of windows.WinDisableEffect
imgCenteredDisplay mode: image centered in window.WinBackgroundImage
imgHDisplay mode: Image enlarged or reduced to the same proportions as the original image, to be displayed entirely in the window.WinBackgroundImage
imgHCDisplay mode: Image enlarged or reduced in size, respecting the proportions of the original image and centered in the window.WinBackgroundImage
imgHCEDisplay mode: Image enlarged or reduced in size, respecting the proportions of the original image, so that the smaller side of the image is displayed entirely in the window, and centered in the window.WinBackgroundImage
imgHCWISDisplay mode: If the image can be displayed entirely in the window, it is displayed at 100% and centered in the window.. Otherwise, the image is proportionally reduced so that it can be entirely displayed and centered in the window.WinBackgroundImage
imgHEDisplay mode: Image enlarged or reduced in size, respecting the proportions of the original image, so that the smaller side of the image is displayed entirely in the window.WinBackgroundImage
imgHWISDisplay mode: If the image can be displayed entirely in the window, it is displayed at 100%.. Otherwise, it is downsized, while maintaining its aspect ratio to fit the control.WinBackgroundImage
imgNormalDisplay mode: 100% at top left of window.WinBackgroundImage
imgStretchedDisplay mode: image distorted to occupy the entire window surface.WinBackgroundImage
imgTiledDisplay mode: Image displayed at 100% and repeated to occupy the entire window (mosaic).WinBackgroundImage
MaxSizeWindow display mode: Maximize window.WinSize
MinSizeWindow display mode: iconized window.WinSize
NormalSizeWindow display mode: neither maximized nor iconized.WinSize
poAccordingToControlOpens the popup window according to the position of a control other than the calling control. In this case:
  • the control name must be specified (<Control name>),
  • the name of the control will be automatically retrieved by MyPopupControl.
Constant kept for backward compatibility
OpenPopupPosition
poBottomThe popup window will be opened below the calling control.
Constant kept for backward compatibility
OpenPopupPosition
poFixedPositionDisables the automatic positioning if the popup window may not be entirely visible on the screen.
Constant kept for backward compatibility
OpenPopupPosition
poLeftThe right border of the popup window will be aligned with the right border of the control. The popup window stretches to the left.
Constant kept for backward compatibility
OpenPopupPosition
popAboveThe popup window will be opened above the calling control.OpenPopupAsynchronous
OpenPopupPosition
popAccordingToControlOpens the popup window according to the position of a control other than the calling control. OpenPopupAsynchronous
OpenPopupPosition
popAlignedLeftThe left border of the popup window will be aligned with the left control border. The popup window stretches to the right.OpenPopupAsynchronous
OpenPopupPosition
popAlignedRightThe right border of the popup window will be aligned with the right border of the control. The popup window stretches to the left.OpenPopupAsynchronous
OpenPopupPosition
popBelow The popup window will be opened below the calling control.OpenPopupAsynchronous
OpenPopupPosition
popCenteredHorizontallyThe popup window is centered horizontally with the calling control.OpenPopupAsynchronous
OpenPopupPosition
popCenteredWindowThe popup window is centered relative to the parent window.OpenPopupAsynchronous
OpenPopupPosition
popDefaultThe position of the popup window is set by default. OpenPopupAsynchronous
OpenPopupPosition
popDisableAutoRepositioningDisables automatic repositioning if the popup window is likely to be truncated.OpenPopupAsynchronous
OpenPopupPosition
poRightThe left border of the popup window will be aligned with the left control border. The popup window stretches to the right.
Constant kept for backward compatibility
OpenPopupPosition
poTopThe popup window will be opened above the calling control.
Constant kept for backward compatibility
OpenPopupPosition
screenAllCoordinates of the screen where the window is displayed: total screen size.WinScreenRectangle
screenWithoutTaskbarCoordinates of the screen where the window is displayed: If the taskbar is active on the screen, its size is subtracted.WinScreenRectangle
swBottomA bottom sliding window (bottom sheet) is used.WinSlidingVisible
swCollapsedOnly the content at the top of the sliding window is shown at the bottom of the host window.WinSlidingVisible
swExpandedThe bottom sliding window takes up the entire screen or most of it, hiding the contents of the host window.WinSlidingVisible
swHalfExpandedMost of the content of the bottom sliding window is shown on screen. Generally, this mode takes up half of the host window.WinSlidingVisible
swInvisibleThe sliding window is invisible.
Note: in previous versions, this constant corresponded to the value False for this parameter.
WinSlidingVisible
swLeftThe left sliding window is used.WinSlidingVisible
swRightThe right sliding window is used.WinSlidingVisible
swVisibleThe sliding window is visible.
Note: in previous versions, this constant corresponded to the value True for this parameter.
WinSlidingVisible
waBookThe plane of the window is displayed on a book that opens.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waCircularFadeInThe window is displayed inside a disk whose size increases.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waDefaultDefault animation proposed by WINDEV.
This constant cannot be combined with the other constants.
WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waFountainThe window appears bit by bit, as if coming out of a fountain.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waInterleaveThe four corners of the window merge while inter-penetrating.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waMorphCylinderThe plane of the window is displayed on a cylinder that slowly changes into a plane.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waMorphSphereThe plane of the window is displayed on a sphere that slowly changes into a plane.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waMorphWaveThe plane window is displayed on waves that fade away.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waNoneNo animation.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waRandomA random animation is selected by WINDEV.
This constant cannot be combined with the other constants.
WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waRotationMultiThe window rotates around all axes.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waRotationXThe window quickly rotates around the X-axis.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waRotationYThe window slowly rotates around the Y-axis.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waTopFillingThe window fills from the top to the bottom.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waTransparent1The window transparency changes from 30 % to 80 %.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waTransparent2The window transparency changes from 0% to 100%.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waTransparentFixedThe transparency remains the same (50%) during the animation.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waVistaWindows Vista animation (combination of rotation, transparency and relocation).WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waZigZagZig zag effectWinAnimationClosing
WinAnimationOpening
WinAnimationNext
waZoomZoom from the position of the click to the final position (straight line and constant speed).WinAnimationClosing
WinAnimationOpening
WinAnimationNext
winOrientationLandscapeWindow displayed in landscape mode.WinOrientation
winOrientationPortraitWindow displayed in portrait mode.WinOrientation
New in version 2025
woDirect2D
Window creation mode: Runtime windows use the "Direct 2D" mechanism.
New in version 2025
WinOptimize
New in version 2025
woWithHandle
Window creation mode: Runtime windows use the handle mechanism.
New in version 2025
WinOptimize
New in version 2025
woWithoutHandle
Window creation mode: Runtime windows don't use the handle mechanism.
New in version 2025
WinOptimize
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help