Click here to Skip to main content
15,914,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralModbus in MFC Pin
chauteen24-Aug-04 23:07
chauteen24-Aug-04 23:07 
GeneralBitmap Pin
Johnny Peszek24-Aug-04 22:55
Johnny Peszek24-Aug-04 22:55 
Generalsites which provide some examples on MSHtml interfaces Pin
Member 52815524-Aug-04 21:50
Member 52815524-Aug-04 21:50 
GeneralOpening an Outlook PST File and Reading its Contents Pin
sirisha_kumari24-Aug-04 20:19
sirisha_kumari24-Aug-04 20:19 
Generalnew apis in windows xp sp2 Pin
SamirSood24-Aug-04 19:29
SamirSood24-Aug-04 19:29 
GeneralH and Lib File Pin
swarup24-Aug-04 19:17
swarup24-Aug-04 19:17 
GeneralRe: H and Lib File Pin
David Crow25-Aug-04 3:51
David Crow25-Aug-04 3:51 
GeneralProblem getting openGL current screen Pin
imranlodhi24-Aug-04 19:16
imranlodhi24-Aug-04 19:16 
I am writting an openGL wrapper which will take screen shots of different games, it works good on most of the games.

but there is a problem in MOHAA, Medal of Honour Allied Assult.

I am getting the VIEW PORT with below code, it works ok when the game is in the main screen but its not getting the entire screen when the game intro movie or the game is running. This code takes a specific rectengle in the entire screen this means that currently the game VIEW PORT is set there.




int width=800; //default image width
int height=600; //default image heigh
GLint viewport[4];

glGetIntegerv(GL_VIEWPORT, viewport);

if (viewport[2]>0 && viewport[3]>0)
{
width= viewport[2];
height= viewport[3];
}




I will really appreciate if someone can help me get the current screen when the VIEW PORT is not the entire screen
GeneralProblem getting openGL current screen Pin
imranlodhi25-Aug-04 19:50
imranlodhi25-Aug-04 19:50 
GeneralGet Video Card info, like getVolumeinfo Pin
Anonymous24-Aug-04 18:43
Anonymous24-Aug-04 18:43 
QuestionConnecting to Mysql database??? Pin
Linera24-Aug-04 18:09
Linera24-Aug-04 18:09 
AnswerRe: Connecting to Mysql database??? Pin
David Crow25-Aug-04 3:13
David Crow25-Aug-04 3:13 
Generalsearch function help Pin
CShoun24-Aug-04 17:05
CShoun24-Aug-04 17:05 
GeneralRe: search function help Pin
David Crow25-Aug-04 3:11
David Crow25-Aug-04 3:11 
GeneralAdd/Remove Programs Pin
Ed K24-Aug-04 15:17
Ed K24-Aug-04 15:17 
GeneralRe: Add/Remove Programs Pin
Graham Bradshaw25-Aug-04 3:09
Graham Bradshaw25-Aug-04 3:09 
GeneralRe: Add/Remove Programs Pin
Ed K25-Aug-04 5:14
Ed K25-Aug-04 5:14 
GeneralRe: Add/Remove Programs Pin
David Crow25-Aug-04 3:20
David Crow25-Aug-04 3:20 
GeneralC++ dialog question Pin
Linera24-Aug-04 14:22
Linera24-Aug-04 14:22 
GeneralRe: C++ dialog question Pin
Ravi Bhavnani24-Aug-04 15:02
professionalRavi Bhavnani24-Aug-04 15:02 
GeneralRe: C++ dialog question Pin
Linera24-Aug-04 15:12
Linera24-Aug-04 15:12 
GeneralRe: C++ dialog question Pin
ThatsAlok24-Aug-04 21:32
ThatsAlok24-Aug-04 21:32 
GeneralRe: C++ dialog question Pin
Rajesh match24-Aug-04 20:17
Rajesh match24-Aug-04 20:17 
GeneralRe: C++ dialog question Pin
Linera25-Aug-04 8:06
Linera25-Aug-04 8:06 
GeneralRe: C++ dialog question Pin
Rajesh match25-Aug-04 19:15
Rajesh match25-Aug-04 19:15 

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.