Click here to Skip to main content
15,886,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Resource Issue after Convert C++ program from VS 2003 to VS2008 Pin
Albert Holguin5-Aug-11 7:29
professionalAlbert Holguin5-Aug-11 7:29 
GeneralRe: Resource Issue after Convert C++ program from VS 2003 to VS2008 Pin
Andraw Tang5-Aug-11 7:45
Andraw Tang5-Aug-11 7:45 
SuggestionRe: Resource Issue after Convert C++ program from VS 2003 to VS2008 Pin
Albert Holguin5-Aug-11 8:36
professionalAlbert Holguin5-Aug-11 8:36 
GeneralRe: Resource Issue after Convert C++ program from VS 2003 to VS2008 Pin
Albert Holguin5-Aug-11 8:37
professionalAlbert Holguin5-Aug-11 8:37 
AnswerRe: Resource Issue after Convert C++ program from VS 2003 to VS2008 Pin
Andraw Tang5-Aug-11 11:08
Andraw Tang5-Aug-11 11:08 
GeneralRe: Resource Issue after Convert C++ program from VS 2003 to VS2008 Pin
Albert Holguin6-Aug-11 13:36
professionalAlbert Holguin6-Aug-11 13:36 
QuestionWhat's the workspace coordinates in WINDOWS ? Pin
Cold_Fearing_Bird5-Aug-11 4:09
Cold_Fearing_Bird5-Aug-11 4:09 
AnswerRe: What's the workspace coordinates in WINDOWS ? Pin
Charles Oppermann5-Aug-11 4:24
Charles Oppermann5-Aug-11 4:24 
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:

C++
// 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

GeneralRe: What's the workspace coordinates in WINDOWS ? Pin
Cold_Fearing_Bird5-Aug-11 4:37
Cold_Fearing_Bird5-Aug-11 4:37 
GeneralRe: What's the workspace coordinates in WINDOWS ? Pin
Charles Oppermann5-Aug-11 6:23
Charles Oppermann5-Aug-11 6:23 
QuestionFlickering problem in list control Pin
MKC0025-Aug-11 0:46
MKC0025-Aug-11 0:46 
AnswerRe: Flickering problem in list control Pin
Chris Meech5-Aug-11 2:15
Chris Meech5-Aug-11 2:15 
AnswerRe: Flickering problem in list control Pin
Richard MacCutchan5-Aug-11 3:38
mveRichard MacCutchan5-Aug-11 3:38 
AnswerRe: Flickering problem in list control Pin
Rolf Kristensen9-Aug-11 10:34
Rolf Kristensen9-Aug-11 10:34 
QuestionWDM kernel driver: ZwClose in timed procedure causes bluescreen Pin
J. Ruffing4-Aug-11 22:49
J. Ruffing4-Aug-11 22:49 
AnswerRe: WDM kernel driver: ZwClose in timed procedure causes bluescreen Pin
Ahmed Charfeddine8-Aug-11 0:24
Ahmed Charfeddine8-Aug-11 0:24 
QuestionWhat's the real difference between POPUP window and OVERLAPPED window Pin
Cold_Fearing_Bird3-Aug-11 23:50
Cold_Fearing_Bird3-Aug-11 23:50 
AnswerRe: What's the real difference between POPUP window and OVERLAPPED window Pin
Richard MacCutchan4-Aug-11 1:27
mveRichard MacCutchan4-Aug-11 1:27 
GeneralRe: What's the real difference between POPUP window and OVERLAPPED window Pin
Albert Holguin4-Aug-11 17:40
professionalAlbert Holguin4-Aug-11 17:40 
GeneralRe: What's the real difference between POPUP window and OVERLAPPED window Pin
Cold_Fearing_Bird4-Aug-11 21:42
Cold_Fearing_Bird4-Aug-11 21:42 
GeneralRe: What's the real difference between POPUP window and OVERLAPPED window Pin
Richard MacCutchan4-Aug-11 23:01
mveRichard MacCutchan4-Aug-11 23:01 
GeneralRe: What's the real difference between POPUP window and OVERLAPPED window Pin
Albert Holguin5-Aug-11 4:24
professionalAlbert Holguin5-Aug-11 4:24 
Questionproblem in writing a binary file using _tfopen_s function Pin
VCProgrammer3-Aug-11 20:48
VCProgrammer3-Aug-11 20:48 
AnswerRe: problem in writing a binary file using _tfopen_s function Pin
Code-o-mat3-Aug-11 21:04
Code-o-mat3-Aug-11 21:04 
RantRe: problem in writing a binary file using _tfopen_s function Pin
«_Superman_»4-Aug-11 3:41
professional«_Superman_»4-Aug-11 3:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.