Click here to Skip to main content
15,909,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem calling a function in RecordView's constructor Pin
KarstenK27-Aug-07 4:08
mveKarstenK27-Aug-07 4:08 
GeneralRe: Problem calling a function in RecordView's constructor Pin
__yash__27-Aug-07 4:40
professional__yash__27-Aug-07 4:40 
QuestionCDC::DrawDragRect Pin
bob1697227-Aug-07 3:25
bob1697227-Aug-07 3:25 
QuestionRe: CDC::DrawDragRect Pin
Mark Salsbery27-Aug-07 7:36
Mark Salsbery27-Aug-07 7:36 
AnswerRe: CDC::DrawDragRect Pin
bob1697227-Aug-07 10:45
bob1697227-Aug-07 10:45 
GeneralRe: CDC::DrawDragRect Pin
Mark Salsbery27-Aug-07 11:07
Mark Salsbery27-Aug-07 11:07 
QuestionHow to add GDI+ to a Project? Pin
TheShihan27-Aug-07 2:25
TheShihan27-Aug-07 2:25 
AnswerRe: How to add GDI+ to a Project? Pin
bob1697227-Aug-07 3:37
bob1697227-Aug-07 3:37 
I'm not sure about VC++ 2005, but in VC++ 2003...
(NOTE: this assumes native code)

// In stdafx.h
#include <gdiplus.h>
using namespace Gdiplus;
#pragma comment(lib, "GdiPlus")


// Somewhere else in app. Timing is important
// (i.e. don't call too early)
// I usually call it in an MFC app in the
// CDocument constructor with a boolean in
// the app to prevent multiple initialization
// attempts.

// Member in CWinApp or somewhere if not MFC app
ULONG_PTR m_gdiplusToken;

GdiplusStartupInput gdiplusStartupInput; // local variable
if (GdiplusStartup(&m_gdiplusToken,&gdiplusStartupInput,NULL)==Ok) {
// Ready to go
}
GeneralRe: How to add GDI+ to a Project? Pin
TheShihan27-Aug-07 4:09
TheShihan27-Aug-07 4:09 
Questionadding menu item to right click context menu Pin
Dhiraj kumar Saini27-Aug-07 2:01
Dhiraj kumar Saini27-Aug-07 2:01 
AnswerRe: adding menu item to right click context menu Pin
Naveen27-Aug-07 2:32
Naveen27-Aug-07 2:32 
QuestionDetecting response/acknowledgement timeout in Winsock Pin
__yash__27-Aug-07 1:09
professional__yash__27-Aug-07 1:09 
Answeruse CTime or clock_t Pin
chandu00427-Aug-07 1:41
chandu00427-Aug-07 1:41 
GeneralRe: use CTime or clock_t Pin
__yash__27-Aug-07 1:51
professional__yash__27-Aug-07 1:51 
AnswerRe: Detecting response/acknowledgement timeout in Winsock Pin
Cedric Moonen27-Aug-07 2:09
Cedric Moonen27-Aug-07 2:09 
GeneralRe: Detecting response/acknowledgement timeout in Winsock Pin
__yash__27-Aug-07 4:46
professional__yash__27-Aug-07 4:46 
AnswerRe: Detecting response/acknowledgement timeout in Winsock Pin
Naveen27-Aug-07 2:51
Naveen27-Aug-07 2:51 
Question2 Different idl files 2 different outputs Pin
sawerr27-Aug-07 0:44
sawerr27-Aug-07 0:44 
AnswerRe: 2 Different idl files 2 different outputs Pin
KarstenK27-Aug-07 2:20
mveKarstenK27-Aug-07 2:20 
GeneralRe: 2 Different idl files 2 different outputs Pin
sawerr27-Aug-07 3:00
sawerr27-Aug-07 3:00 
GeneralRe: 2 Different idl files 2 different outputs Pin
KarstenK27-Aug-07 3:15
mveKarstenK27-Aug-07 3:15 
Questionbackground of picture static control Pin
vasu_sri26-Aug-07 23:41
vasu_sri26-Aug-07 23:41 
AnswerRe: background of picture static control Pin
Roger Broomfield27-Aug-07 0:26
Roger Broomfield27-Aug-07 0:26 
QuestionReading mrt.log file Pin
Manasi D26-Aug-07 21:26
Manasi D26-Aug-07 21:26 
AnswerRe: Reading mrt.log file Pin
Naveen26-Aug-07 21:48
Naveen26-Aug-07 21:48 

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.