Click here to Skip to main content
15,920,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSome basic C++ question... yes, I'm a newbie - sorry! Pin
drjake18-Jul-04 13:33
drjake18-Jul-04 13:33 
GeneralRe: Some basic C++ question... yes, I'm a newbie - sorry! Pin
valikac18-Jul-04 13:57
valikac18-Jul-04 13:57 
GeneralRe: Some basic C++ question... yes, I'm a newbie - sorry! Pin
Christian Graus18-Jul-04 14:48
protectorChristian Graus18-Jul-04 14:48 
GeneralRe: Some basic C++ question... yes, I'm a newbie - sorry! Pin
bikram singh19-Jul-04 12:52
bikram singh19-Jul-04 12:52 
GeneralRe: Some basic C++ question... yes, I'm a newbie - sorry! Pin
Christian Graus19-Jul-04 13:00
protectorChristian Graus19-Jul-04 13:00 
GeneralRe: Some basic C++ question... yes, I'm a newbie - sorry! Pin
V.18-Jul-04 21:28
professionalV.18-Jul-04 21:28 
GeneralMSFlexGrid Control Problem Pin
Naveed Shoaib18-Jul-04 12:56
Naveed Shoaib18-Jul-04 12:56 
GeneralRe: MSFlexGrid Control Problem Pin
Toni7818-Jul-04 16:23
Toni7818-Jul-04 16:23 
CMSHFlexGrid	m_Table;

CDC *hDC;
hDC = GetDC();

long twips;
CRect aRect;

twips = m_Table.GetCellLeft();
aRect.left = MulDiv( twips, hDC->GetDeviceCaps( LOGPIXELSX ), 1440);
twips = m_Table.GetCellTop();
aRect.top = MulDiv( twips, hDC->GetDeviceCaps( LOGPIXELSY ), 1440);
twips = m_Table.GetCellWidth();
aRect.right = MulDiv( twips, hDC->GetDeviceCaps( LOGPIXELSX ), 1440)\
	+ aRect.left;
twips = m_Table.GetCellHeight();
aRect.bottom = MulDiv( twips, hDC->GetDeviceCaps( LOGPIXELSY ), 1440)\
	+ aRect.top;
this->ReleaseDC( hDC );


I hope that this works for you.
GeneralRe: MSFlexGrid Control Problem Pin
Toni7818-Jul-04 16:25
Toni7818-Jul-04 16:25 
GeneralRe: MSFlexGrid Control Problem Pin
V.18-Jul-04 21:10
professionalV.18-Jul-04 21:10 
Generalproblem with including headers Pin
Jump_Around18-Jul-04 12:54
Jump_Around18-Jul-04 12:54 
GeneralRe: problem with including headers Pin
Ravi Bhavnani18-Jul-04 13:28
professionalRavi Bhavnani18-Jul-04 13:28 
GeneralDetermining DPI Pin
JD Steffen18-Jul-04 11:41
JD Steffen18-Jul-04 11:41 
GeneralRe: Determining DPI Pin
Michael Dunn18-Jul-04 12:52
sitebuilderMichael Dunn18-Jul-04 12:52 
GeneralRe: Determining DPI Pin
JD Steffen19-Jul-04 23:50
JD Steffen19-Jul-04 23:50 
GeneralCRecordSet->MoveFirst() exception Pin
JabraJabra18-Jul-04 7:12
JabraJabra18-Jul-04 7:12 
GeneralRe: CRecordSet->MoveFirst() exception Pin
Toni7818-Jul-04 7:15
Toni7818-Jul-04 7:15 
GeneralRe: CRecordSet->MoveFirst() exception Pin
Scozturk18-Jul-04 7:23
professionalScozturk18-Jul-04 7:23 
GeneralRe: CRecordSet->MoveFirst() exception Pin
Alexander Wiseman18-Jul-04 9:05
Alexander Wiseman18-Jul-04 9:05 
GeneralLOGPEN Pin
Trollslayer18-Jul-04 6:47
mentorTrollslayer18-Jul-04 6:47 
GeneralRe: LOGPEN Pin
Trollslayer18-Jul-04 8:37
mentorTrollslayer18-Jul-04 8:37 
GeneralRe: LOGPEN Pin
Alexander Wiseman18-Jul-04 9:06
Alexander Wiseman18-Jul-04 9:06 
GeneralRe: LOGPEN - resource usage warning Pin
PJ Arends18-Jul-04 9:06
professionalPJ Arends18-Jul-04 9:06 
GeneralRe: LOGPEN Pin
Alexander Wiseman18-Jul-04 8:56
Alexander Wiseman18-Jul-04 8:56 
GeneralGet a pointer from an RVA Pin
Toni7818-Jul-04 6:43
Toni7818-Jul-04 6:43 

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.