Click here to Skip to main content
15,851,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How could I run one of my class member Functions in a new thread: Pin
KarstenK8-Apr-10 4:41
mveKarstenK8-Apr-10 4:41 
GeneralRe: How could I run one of my class member Functions in a new thread: Pin
m_code8-Apr-10 4:50
m_code8-Apr-10 4:50 
GeneralRe: How could I run one of my class member Functions in a new thread: Pin
KarstenK8-Apr-10 5:09
mveKarstenK8-Apr-10 5:09 
QuestionCreateBitmapIndirect() doesnt create bitmap Pin
globus0008-Apr-10 3:08
globus0008-Apr-10 3:08 
AnswerRe: CreateBitmapIndirect() doesnt create bitmap Pin
KarstenK8-Apr-10 4:23
mveKarstenK8-Apr-10 4:23 
AnswerRe: CreateBitmapIndirect() doesnt create bitmap Pin
Jonathan Davies8-Apr-10 6:23
Jonathan Davies8-Apr-10 6:23 
QuestionWidest Character and Height of the character Pin
shiv@nand8-Apr-10 2:13
shiv@nand8-Apr-10 2:13 
AnswerRe: Widest Character and Height of the character Pin
Eugen Podsypalnikov8-Apr-10 2:37
Eugen Podsypalnikov8-Apr-10 2:37 
Try it Smile | :) :
CSize GetMaxCharSize(CDC* pcDC, CFont* pcFont)
{
  CSize csizeResult(0, 0);
  if (pcDC && pcFont) {
    CGdiObject* pcOldFont = pcDC->SelectObject(pcFont);
    TEXTMETRIC tm = {0};
    pDC->GetTextMetrics(&tm);
    csizeResult.cx = tm.tmMaxCharWidth;
    csizeResult.cy = tm.tmHeight;
    pcDC->SelectObject(pcOldFont);
  }
  return csizeResult;
}

virtual void BeHappy() = 0;

GeneralRe: Widest Character and Height of the character Pin
Adam Roderick J8-Apr-10 2:41
Adam Roderick J8-Apr-10 2:41 
GeneralRe: Widest Character and Height of the character Pin
shiv@nand8-Apr-10 2:49
shiv@nand8-Apr-10 2:49 
GeneralRe: Widest Character and Height of the character Pin
Eugen Podsypalnikov8-Apr-10 3:01
Eugen Podsypalnikov8-Apr-10 3:01 
GeneralRe: Widest Character and Height of the character Pin
shiv@nand8-Apr-10 3:17
shiv@nand8-Apr-10 3:17 
AnswerRe: Widest Character and Height of the character Pin
Michel Godfroid8-Apr-10 7:47
Michel Godfroid8-Apr-10 7:47 
JokeRe: Widest Character and Height of the character Pin
Eugen Podsypalnikov8-Apr-10 10:07
Eugen Podsypalnikov8-Apr-10 10:07 
GeneralRe: Widest Character and Height of the character Pin
Michel Godfroid8-Apr-10 10:21
Michel Godfroid8-Apr-10 10:21 
GeneralRe: Widest Character and Height of the character Pin
shiv@nand8-Apr-10 18:46
shiv@nand8-Apr-10 18:46 
QuestionEncrypt Pin
MsmVc8-Apr-10 1:41
MsmVc8-Apr-10 1:41 
AnswerRe: Encrypt PinPopular
_AnsHUMAN_ 8-Apr-10 1:44
_AnsHUMAN_ 8-Apr-10 1:44 
GeneralRe: Encrypt Pin
MsmVc8-Apr-10 1:47
MsmVc8-Apr-10 1:47 
GeneralMessage Removed Pin
8-Apr-10 3:02
MsmVc8-Apr-10 3:02 
GeneralRe: Encrypt Pin
KarstenK8-Apr-10 4:25
mveKarstenK8-Apr-10 4:25 
QuestionHow to change focus from TreeView to ListView using tab in MFC? Pin
yvanc8-Apr-10 0:40
yvanc8-Apr-10 0:40 
AnswerRe: How to change focus from TreeView to ListView using tab in MFC? Pin
Eugen Podsypalnikov8-Apr-10 1:57
Eugen Podsypalnikov8-Apr-10 1:57 
GeneralRe: How to change focus from TreeView to ListView using tab in MFC? Pin
yvanc8-Apr-10 4:31
yvanc8-Apr-10 4:31 
GeneralRe: How to change focus from TreeView to ListView using tab in MFC? Pin
Eugen Podsypalnikov8-Apr-10 4:33
Eugen Podsypalnikov8-Apr-10 4:33 

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.