Click here to Skip to main content
15,906,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get type of Icon in system messages Pin
Member 1088174515-Jul-14 2:03
Member 1088174515-Jul-14 2:03 
SuggestionRe: How to get type of Icon in system messages Pin
Jochen Arndt15-Jul-14 2:48
professionalJochen Arndt15-Jul-14 2:48 
SuggestionRe: How to get type of Icon in system messages Pin
Richard MacCutchan15-Jul-14 3:40
mveRichard MacCutchan15-Jul-14 3:40 
GeneralRe: How to get type of Icon in system messages Pin
Member 1088174521-Jul-14 19:13
Member 1088174521-Jul-14 19:13 
GeneralRe: How to get type of Icon in system messages Pin
Richard MacCutchan21-Jul-14 21:20
mveRichard MacCutchan21-Jul-14 21:20 
QuestionMenu item font resizing Pin
Member 377895415-Jul-14 0:37
Member 377895415-Jul-14 0:37 
AnswerRe: Menu item font resizing Pin
enhzflep15-Jul-14 22:34
enhzflep15-Jul-14 22:34 
QuestionDraggin and dropping functionality in windows 8 environment Pin
Member 377895414-Jul-14 2:31
Member 377895414-Jul-14 2:31 
Hi,

i have developed an application in which i have icons in left side pane of application which can be dragged and dropped in client screen. Application is working fine with all the resolution except 1920x1080.

when setting the resolution to 1920x1080 while dragging icons to client area, icon is not attach to mouse pointer. instead there is a gap between the mouse pointer and the icon. i wrote code to identify the screen resolution but it does not seem to recognize 1920x1080 resolution. below code is giving incorrect resolution for 1920x1080 setting.

RECT actualDesktop;
GetClientRect(GetDesktopWindow(),&actualDesktop);

value of 'actualDesktop' variable is {top=0 bottom=783 left=0 right=1536} which is incorrect. according to current resolution size value should be {top=0 bottom=1080 left=0 right=1920}. Due to this, all the icons while dragging are adjusting according to incorrect resolution setting.

Can someone help me to identify the issue and let me know if there is any limitation with respect to screen resolution in VC++ 6.0 with windows 8 environment.

If require i will place more detailed code about the drag and drop functionality.

Regards,
Aniket
AnswerRe: Draggin and dropping functionality in windows 8 environment Pin
Richard MacCutchan14-Jul-14 5:19
mveRichard MacCutchan14-Jul-14 5:19 
QuestionRe: Draggin and dropping functionality in windows 8 environment Pin
Member 377895414-Jul-14 18:22
Member 377895414-Jul-14 18:22 
AnswerRe: Draggin and dropping functionality in windows 8 environment Pin
Richard MacCutchan14-Jul-14 22:00
mveRichard MacCutchan14-Jul-14 22:00 
GeneralRe: Draggin and dropping functionality in windows 8 environment Pin
Member 377895415-Jul-14 19:03
Member 377895415-Jul-14 19:03 
GeneralRe: Draggin and dropping functionality in windows 8 environment Pin
Richard MacCutchan15-Jul-14 22:06
mveRichard MacCutchan15-Jul-14 22:06 
GeneralRe: Draggin and dropping functionality in windows 8 environment Pin
Member 377895416-Jul-14 21:36
Member 377895416-Jul-14 21:36 
GeneralRe: Draggin and dropping functionality in windows 8 environment Pin
Richard MacCutchan16-Jul-14 22:35
mveRichard MacCutchan16-Jul-14 22:35 
GeneralRe: Draggin and dropping functionality in windows 8 environment Pin
Member 377895417-Jul-14 19:33
Member 377895417-Jul-14 19:33 
GeneralRe: Draggin and dropping functionality in windows 8 environment Pin
Richard MacCutchan17-Jul-14 22:28
mveRichard MacCutchan17-Jul-14 22:28 
QuestionPass Image or text data from MFC to c# application Pin
low198813-Jul-14 6:56
low198813-Jul-14 6:56 
AnswerRe: Pass Image or text data from MFC to c# application Pin
Albert Holguin14-Jul-14 6:33
professionalAlbert Holguin14-Jul-14 6:33 
QuestionView with color txt added automatically by one thread,No flash and auto scrolling Pin
PaulKvm9-Jul-14 20:59
PaulKvm9-Jul-14 20:59 
SuggestionRe: View with color txt added automatically by one thread,No flash and auto scrolling Pin
Richard MacCutchan9-Jul-14 23:39
mveRichard MacCutchan9-Jul-14 23:39 
AnswerRe: View with color txt added automatically by one thread,No flash and auto scrolling Pin
leon de boer11-Jul-14 2:36
leon de boer11-Jul-14 2:36 
Questionsendto problem Pin
Member 103497468-Jul-14 22:47
Member 103497468-Jul-14 22:47 
SuggestionRe: sendto problem Pin
Richard MacCutchan8-Jul-14 23:16
mveRichard MacCutchan8-Jul-14 23:16 
AnswerRe: sendto problem Pin
leon de boer11-Jul-14 3:00
leon de boer11-Jul-14 3:00 

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.