Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to catch the 'Stop Build' event? Pin
GeVanCo1-Oct-00 2:04
GeVanCo1-Oct-00 2:04 
GeneralSendKeys Pin
Mustafa Demirhan1-Oct-00 0:16
Mustafa Demirhan1-Oct-00 0:16 
GeneralAdd Message Map Pin
S moses30-Sep-00 17:21
sussS moses30-Sep-00 17:21 
GeneralRe: Add Message Map Pin
Sam Hobbs30-Sep-00 18:11
Sam Hobbs30-Sep-00 18:11 
GeneralManualy add cpp and h file to project Pin
S moses30-Sep-00 11:42
sussS moses30-Sep-00 11:42 
GeneralRe: Manualy add cpp and h file to project Pin
Frank Deo30-Sep-00 12:00
Frank Deo30-Sep-00 12:00 
GeneralRe: Manualy add cpp and h file to project Pin
S moses30-Sep-00 17:20
sussS moses30-Sep-00 17:20 
GeneralProblem with CListCtrl::SetBkImage(..) Pin
Ronald L. Russell Jr. (Ron)30-Sep-00 11:12
sussRonald L. Russell Jr. (Ron)30-Sep-00 11:12 
I have been trying to place a background image on a CListCtrl using the SetBkImage(..) function, but have run into a problem. If I use a URL for the image on my local hard drive, then I am able to display the image with no problem, however, If I try to use a bitmap loaded from a resource ( via the CBitmap HBITMAP operator) then I am unable to get the CListCtrl to display the image. For example, the following code works fine:

m_ctrlList.SetBkImage(TEXT("file://c:\\temp\\image.bmp"));

But code such as :

CBitmap bitmap;
bitmap.LoadBitmap(IDB_BITMAP1);
m_ctrlList.SetBkImage((HBITMAP)bitmap);

Will not work at all. Am I simply missing something here, or has anyone else experienced this problem as well. Any information is greatly appreciated!!
GeneralRe: Problem with CListCtrl::SetBkImage(..) Pin
Michael Dunn2-Oct-00 9:55
sitebuilderMichael Dunn2-Oct-00 9:55 
General Disabling MS Language extensions Pin
Jim Crafton30-Sep-00 5:47
Jim Crafton30-Sep-00 5:47 
GeneralDisabling MS Language extensions Pin
Jim30-Sep-00 5:43
Jim30-Sep-00 5:43 
GeneralRe: Disabling MS Language extensions Pin
Erik Funkenbusch4-Oct-00 13:32
Erik Funkenbusch4-Oct-00 13:32 
GeneralGetCapture Pin
KarlKlose30-Sep-00 2:11
KarlKlose30-Sep-00 2:11 
GeneralAn interesting ICQ add-on library Pin
Eq30-Sep-00 0:31
Eq30-Sep-00 0:31 
GeneralRe: An interesting ICQ add-on library Pin
helloworld30-Sep-00 0:32
helloworld30-Sep-00 0:32 
GeneralRe: An interesting ICQ add-on library Pin
Eq30-Sep-00 0:33
Eq30-Sep-00 0:33 
GeneralMFC App: Need some help with architecture Pin
Lutz Heinrichs29-Sep-00 9:12
Lutz Heinrichs29-Sep-00 9:12 
GeneralRe: MFC App: Need some help with architecture Pin
Michael Dunn2-Oct-00 10:08
sitebuilderMichael Dunn2-Oct-00 10:08 
GeneralRe: MFC App: Need some help with architecture Pin
Erik Funkenbusch4-Oct-00 13:36
Erik Funkenbusch4-Oct-00 13:36 
GeneralLoading Resource in a dll Pin
Joel Holdsworth29-Sep-00 8:50
Joel Holdsworth29-Sep-00 8:50 
GeneralRe: Loading Resource in a dll Pin
Paolo Messina30-Sep-00 5:27
professionalPaolo Messina30-Sep-00 5:27 
GeneralNeeds more info about Question.. Pin
Ryan Park1-Oct-00 14:00
Ryan Park1-Oct-00 14:00 
GeneralRe: Needs more info about Question.. Pin
Stephen Kellett2-Oct-00 5:03
Stephen Kellett2-Oct-00 5:03 
GeneralGetFolderPath! Pin
Pedro Rocha29-Sep-00 4:52
Pedro Rocha29-Sep-00 4:52 
GeneralRe: GetFolderPath! Pin
Frank Deo29-Sep-00 9:11
Frank Deo29-Sep-00 9:11 

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.