Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetPixel Pin
Hamid_RT6-Oct-06 19:49
Hamid_RT6-Oct-06 19:49 
GeneralRe: GetPixel Pin
Mark Salsbery7-Oct-06 8:44
Mark Salsbery7-Oct-06 8:44 
QuestionProblem understanding image rotation. Pin
Mark F.6-Oct-06 4:39
Mark F.6-Oct-06 4:39 
AnswerRe: Problem understanding image rotation. Pin
Maximilien6-Oct-06 4:46
Maximilien6-Oct-06 4:46 
GeneralRe: Problem understanding image rotation. Pin
Mark F.6-Oct-06 4:48
Mark F.6-Oct-06 4:48 
GeneralRe: Problem understanding image rotation. Pin
Maximilien6-Oct-06 4:50
Maximilien6-Oct-06 4:50 
AnswerRe: Problem understanding image rotation. Pin
Stephen Hewitt6-Oct-06 21:02
Stephen Hewitt6-Oct-06 21:02 
QuestionEnumDisplaySettings Pin
viliam6-Oct-06 4:02
viliam6-Oct-06 4:02 
hi,
I am using function EnumDisplaySettings to get Windows resolution
like this:

DEVMODE dm;
dm.dmSize = sizeof(DEVMODE);
dm.dmDriverExtra = 0;
EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &dm);

..and resolutin is in dm.dmPelsWidth and dm.dmPelsHeight

It works fine in WinXP - I am programming it, but
i need to run it on Windows 95 and even function return TRUE
the values in DEVMODE are nonsencical and probably random.

Does anyone solved this problem?
Or know any other function to get resolution in Win95
Thank you


viliam

QuestionRe: EnumDisplaySettings Pin
David Crow6-Oct-06 4:17
David Crow6-Oct-06 4:17 
QuestionCan hook the window of a service with WH_CBT system hook? [modified] Pin
lijian_41326-Oct-06 3:58
lijian_41326-Oct-06 3:58 
AnswerRe: Can hook the window of a service with WH_CBT system hook? Pin
Mark Salsbery6-Oct-06 4:52
Mark Salsbery6-Oct-06 4:52 
AnswerRe: Can hook the window of a service with WH_CBT system hook? Pin
James Brown7-Oct-06 7:09
James Brown7-Oct-06 7:09 
QuestionCFileDialog question Pin
<color>Aljechin 6-Oct-06 3:28
<color>Aljechin 6-Oct-06 3:28 
AnswerRe: CFileDialog question Pin
David Crow6-Oct-06 3:55
David Crow6-Oct-06 3:55 
GeneralRe: CFileDialog question Pin
<color>Aljechin 6-Oct-06 4:55
<color>Aljechin 6-Oct-06 4:55 
GeneralRe: CFileDialog question Pin
David Crow6-Oct-06 5:04
David Crow6-Oct-06 5:04 
AnswerRe: CFileDialog question [modified] Pin
prasad_som6-Oct-06 3:58
prasad_som6-Oct-06 3:58 
GeneralRe: CFileDialog question Pin
<color>Aljechin 6-Oct-06 4:05
<color>Aljechin 6-Oct-06 4:05 
GeneralRe: CFileDialog question Pin
<color>Aljechin 6-Oct-06 4:56
<color>Aljechin 6-Oct-06 4:56 
GeneralRe: CFileDialog question Pin
prasad_som6-Oct-06 5:15
prasad_som6-Oct-06 5:15 
QuestionPage Rank Pin
Mahesh Kulkarni6-Oct-06 2:16
Mahesh Kulkarni6-Oct-06 2:16 
AnswerRe: Page Rank Pin
David Crow6-Oct-06 2:35
David Crow6-Oct-06 2:35 
GeneralRe: Page Rank Pin
Mahesh Kulkarni6-Oct-06 2:43
Mahesh Kulkarni6-Oct-06 2:43 
GeneralRe: Page Rank Pin
David Crow6-Oct-06 2:45
David Crow6-Oct-06 2:45 
QuestionHow to get the keyboard inputs Pin
Veeresh Hiremath6-Oct-06 1:44
Veeresh Hiremath6-Oct-06 1:44 

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.