Click here to Skip to main content
15,891,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to delete entire row in CListCtrl? Pin
Hari Krishnan (Noida)7-May-03 5:20
Hari Krishnan (Noida)7-May-03 5:20 
AnswerRe: How to delete entire row in CListCtrl? Pin
G. Steudtel7-May-03 4:55
G. Steudtel7-May-03 4:55 
QuestionHow to select the entire row in CListControl Pin
julych7-May-03 4:13
julych7-May-03 4:13 
AnswerRe: How to select the entire row in CListControl Pin
Dr-Kuulun7-May-03 4:17
Dr-Kuulun7-May-03 4:17 
AnswerRe: How to select the entire row in CListControl Pin
JensB7-May-03 4:18
JensB7-May-03 4:18 
AnswerRe: How to select the entire row in CListControl Pin
Muhammad Ahmed7-May-03 4:18
Muhammad Ahmed7-May-03 4:18 
AnswerRe: How to select the entire row in CListControl Pin
Renjith Ramachandran7-May-03 4:19
Renjith Ramachandran7-May-03 4:19 
GeneralLoading Icon in a Property Sheet Button Pin
Muhammad Ahmed7-May-03 4:06
Muhammad Ahmed7-May-03 4:06 
hi:
i am using the following code to load an icon for the ok button of the property sheet but this is not woking

//////////////OnInitDialog//////////////////////////////
BOOL CMyPropertySheet::OnInitDialog() {

BOOL bResult = CPropertySheet::OnInitDialog();
// other code

CButton* pButt=(CButton*)GetDlgItem(IDOK);
CWinApp* pApp=AfxGetApp();
HICON hIcon=::LoadIcon(pApp->m_hInstance,MAKEINTRESOURCE(IDI_CLOSE));
if(hIcon==NULL)
AfxMessageBox("null handle of icon");
pButt->SetIcon(hIcon);
return bResult;

}
/////////////////////////////////////////////////////////
i cant see the icon ..can any one help me....
thanks
AhmedFrown | :(

ahmed
GeneralRe: Loading Icon in a Property Sheet Button Pin
Renjith Ramachandran7-May-03 4:14
Renjith Ramachandran7-May-03 4:14 
GeneralRe: Loading Icon in a Property Sheet Button Pin
Muhammad Ahmed7-May-03 4:23
Muhammad Ahmed7-May-03 4:23 
QuestionHow do I hide the second apps Main Window?? Pin
IrishSonic7-May-03 4:05
IrishSonic7-May-03 4:05 
AnswerRe: How do I hide the second apps Main Window?? Pin
jmkhael7-May-03 4:28
jmkhael7-May-03 4:28 
AnswerRe: How do I hide the second apps Main Window?? Pin
Renjith Ramachandran7-May-03 4:30
Renjith Ramachandran7-May-03 4:30 
GeneralRe: How do I hide the second apps Main Window?? Pin
IrishSonic7-May-03 5:22
IrishSonic7-May-03 5:22 
GeneralRe: How do I hide the second apps Main Window?? Pin
jhwurmbach7-May-03 5:40
jhwurmbach7-May-03 5:40 
GeneralAntialias TextOut Pin
Kyudos7-May-03 3:08
Kyudos7-May-03 3:08 
GeneralRe: Antialias TextOut Pin
ZoogieZork7-May-03 3:18
ZoogieZork7-May-03 3:18 
GeneralRe: Antialias TextOut Pin
Kyudos7-May-03 3:23
Kyudos7-May-03 3:23 
GeneralText import wizard Pin
yaname7-May-03 3:01
yaname7-May-03 3:01 
GeneralRe: Text import wizard Pin
Carlos Antollini7-May-03 4:30
Carlos Antollini7-May-03 4:30 
GeneralRe: Text import wizard Pin
yaname7-May-03 4:58
yaname7-May-03 4:58 
General2 subclass for 1 item Pin
JensB7-May-03 2:50
JensB7-May-03 2:50 
GeneralRe: 2 subclass for 1 item Pin
David Crow7-May-03 3:37
David Crow7-May-03 3:37 
GeneralRe: 2 subclass for 1 item Pin
jhwurmbach7-May-03 3:38
jhwurmbach7-May-03 3:38 
GeneralRe: 2 subclass for 1 item Pin
JensB7-May-03 3:46
JensB7-May-03 3:46 

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.