What's the workspace coordinates in WINDOWS ?
-
From MSDN "Workspace coordinates differ from screen coordinates in that they take the locations and sizes of application toolbars (including the taskbar) into account. Workspace coordinate (0,0) is the upper-left corner of the workspace area, the area of the screen not being used by application toolbars" I am very comfused about the paragraph above. I know what taskbar is, it locates in the bottom of my screen, containing application icons.but what is application toolbars? It sure doesn't mean the toolbar on the app UI that resembles the menu functions. could someone help me?
-
From MSDN "Workspace coordinates differ from screen coordinates in that they take the locations and sizes of application toolbars (including the taskbar) into account. Workspace coordinate (0,0) is the upper-left corner of the workspace area, the area of the screen not being used by application toolbars" I am very comfused about the paragraph above. I know what taskbar is, it locates in the bottom of my screen, containing application icons.but what is application toolbars? It sure doesn't mean the toolbar on the app UI that resembles the menu functions. could someone help me?
Between Windows 95 and Windows Vista, you used to be able to have multiple-docked toolbars called "deskbands", like a Address deskband docked to the left side of the screen. Like the Tasbar, Deskbands could be set to Autohide. If they aren't hidden, then the available workarea is reduced. Here is code that I use to find out the available work area:
// SPI_GETWORKAREA
// Retrieves the size of the work area on the primary display monitor.
// The work area is the portion of the screen not obscured by the system taskbar or by application desktop toolbars.
// The pvParam parameter must point to a RECT structure that receives the coordinates of the work area, expressed in virtual screen coordinates.
// To get the work area of a monitor other than the primary display monitor, call the GetMonitorInfo function.
printf("Work Area size:\t");
RECT rectWorkArea;
bool bSuccess = SystemParametersInfo(SPI_GETWORKAREA, 0, &rectWorkArea, 0);/* Charles Oppermann */ http://weblogs.asp.net/chuckop
-
Between Windows 95 and Windows Vista, you used to be able to have multiple-docked toolbars called "deskbands", like a Address deskband docked to the left side of the screen. Like the Tasbar, Deskbands could be set to Autohide. If they aren't hidden, then the available workarea is reduced. Here is code that I use to find out the available work area:
// SPI_GETWORKAREA
// Retrieves the size of the work area on the primary display monitor.
// The work area is the portion of the screen not obscured by the system taskbar or by application desktop toolbars.
// The pvParam parameter must point to a RECT structure that receives the coordinates of the work area, expressed in virtual screen coordinates.
// To get the work area of a monitor other than the primary display monitor, call the GetMonitorInfo function.
printf("Work Area size:\t");
RECT rectWorkArea;
bool bSuccess = SystemParametersInfo(SPI_GETWORKAREA, 0, &rectWorkArea, 0);/* Charles Oppermann */ http://weblogs.asp.net/chuckop
I use WINXP. All I know is the taskbar can be docked to the four sides of the screen and can be autohided.How can I bring up the application toolbar ?
-
I use WINXP. All I know is the taskbar can be docked to the four sides of the screen and can be autohided.How can I bring up the application toolbar ?
Check this link: http://en.wikipedia.org/wiki/Taskbar#Desktop_toolbars[^] Right-click on the taskbar, choose toolbars, pick one. Ensure the Taskbar is Unlocked and then drag the new toolbar off and over to another edge.
/* Charles Oppermann */ http://weblogs.asp.net/chuckop