Click here to Skip to main content
14,974,240 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to create file in this program and make it generate Pin
Programm3r20-Sep-07 3:40
MemberProgramm3r20-Sep-07 3:40 
GeneralRe: How to create file in this program and make it generate Pin
snoop8220-Sep-07 4:17
Membersnoop8220-Sep-07 4:17 
GeneralRe: How to create file in this program and make it generate Pin
Nelek20-Sep-07 4:19
protectorNelek20-Sep-07 4:19 
GeneralRe: How to create file in this program and make it generate Pin
toxcct20-Sep-07 4:25
Membertoxcct20-Sep-07 4:25 
QuestionGetDC() returning NULL handle in MFC Pin
Dhiraj kumar Saini20-Sep-07 3:28
MemberDhiraj kumar Saini20-Sep-07 3:28 
QuestionRe: GetDC() returning NULL handle in MFC Pin
Hamid_RT20-Sep-07 4:14
MemberHamid_RT20-Sep-07 4:14 
AnswerRe: GetDC() returning NULL handle in MFC Pin
Mark Salsbery20-Sep-07 6:22
MemberMark Salsbery20-Sep-07 6:22 
AnswerRe: GetDC() returning NULL handle in MFC Pin
nbugalia20-Sep-07 6:41
Membernbugalia20-Sep-07 6:41 
Dhiraj kumar Saini wrote:
HWND h=GetDlgItem(IDC_PIC);


Are you using MFC or SDK.
In if it's MFC, then it should be like -

CWnd *pWnd = GetDlgItem (IDC_PICT);
CDC *pDC = pWnd->GetDC ();
pDC->TextOut (1,1,"hi",2);


else
If it's SDK, then the GetDlgItem also need the handle to parent.
HWND h=GetDlgItem(Handle to the dialog box that contains the control,IDC_PIC);
QuestionCustomdrawn CListCtrl Pin
josip cagalj20-Sep-07 3:09
Memberjosip cagalj20-Sep-07 3:09 
AnswerRe: Customdrawn CListCtrl Pin
Nelek20-Sep-07 4:16
protectorNelek20-Sep-07 4:16 
Questionwhy CArray::GetSize() returns INT_PTR Pin
Raj Prathap20-Sep-07 3:01
MemberRaj Prathap20-Sep-07 3:01 
AnswerRe: why CArray::GetSize() returns INT_PTR Pin
Nemanja Trifunovic20-Sep-07 3:54
MemberNemanja Trifunovic20-Sep-07 3:54 
AnswerRe: why CArray::GetSize() returns INT_PTR Pin
jhwurmbach20-Sep-07 3:56
Memberjhwurmbach20-Sep-07 3:56 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
James R. Twine20-Sep-07 6:52
MemberJames R. Twine20-Sep-07 6:52 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
jhwurmbach20-Sep-07 7:17
Memberjhwurmbach20-Sep-07 7:17 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
James R. Twine20-Sep-07 12:25
MemberJames R. Twine20-Sep-07 12:25 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
jhwurmbach20-Sep-07 21:29
Memberjhwurmbach20-Sep-07 21:29 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
James R. Twine20-Sep-07 23:29
MemberJames R. Twine20-Sep-07 23:29 
AnswerRe: why CArray::GetSize() returns INT_PTR Pin
toxcct20-Sep-07 6:44
Membertoxcct20-Sep-07 6:44 
Questionhow to read data from hard disk using int86() function? Pin
amit.code20-Sep-07 2:43
Memberamit.code20-Sep-07 2:43 
AnswerRe: how to read data from hard disk using int86() function? Pin
jhwurmbach20-Sep-07 4:07
Memberjhwurmbach20-Sep-07 4:07 
GeneralRe: how to read data from hard disk using int86() function? Pin
Mark Salsbery20-Sep-07 6:34
MemberMark Salsbery20-Sep-07 6:34 
GeneralRe: how to read data from hard disk using int86() function? Pin
jhwurmbach20-Sep-07 6:36
Memberjhwurmbach20-Sep-07 6:36 
QuestionRe: how to read data from hard disk using int86() function? Pin
David Crow20-Sep-07 17:40
MemberDavid Crow20-Sep-07 17:40 
Questioncan anybody help me in converting a 16 bit bmp to grayscale Pin
philiptabraham20-Sep-07 1:35
Memberphiliptabraham20-Sep-07 1:35 

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.