Click here to Skip to main content
15,919,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAbstracting serial and socket ports in a class Pin
Jason2-Oct-00 4:47
Jason2-Oct-00 4:47 
GeneralHOWTO: Find the Pin
Jeremy Davis2-Oct-00 2:58
Jeremy Davis2-Oct-00 2:58 
GeneralRe: HOWTO: Find the Pin
Stephen Kellett2-Oct-00 5:10
Stephen Kellett2-Oct-00 5:10 
GeneralRe: HOWTO: Find the Pin
Michael Dunn2-Oct-00 9:47
sitebuilderMichael Dunn2-Oct-00 9:47 
GeneralRe: HOWTO: Find the Pin
Jeremy Davis2-Oct-00 21:58
Jeremy Davis2-Oct-00 21:58 
GeneralNT Security Pin
Irfan Bashir Malik2-Oct-00 1:13
Irfan Bashir Malik2-Oct-00 1:13 
GeneralHTML viewer Pin
Rok Erjavec2-Oct-00 1:00
sussRok Erjavec2-Oct-00 1:00 
GeneralNeed Help in add-in Pin
Achyut Jagtap1-Oct-00 23:01
sussAchyut Jagtap1-Oct-00 23:01 
GeneralRe: Need Help in add-in Pin
Mike Melnikov2-Oct-00 22:07
Mike Melnikov2-Oct-00 22:07 
GeneralRe: Need Help in add-in Pin
Achyut2-Oct-00 22:20
Achyut2-Oct-00 22:20 
GeneralRe: Need Help in add-in Pin
Mike Melnikov3-Oct-00 23:54
Mike Melnikov3-Oct-00 23:54 
GeneralICM TranslateColors Problems Pin
Kurt1-Oct-00 10:14
Kurt1-Oct-00 10:14 
GeneralGet Parent Process Pin
Peter Scheir1-Oct-00 7:21
sussPeter Scheir1-Oct-00 7:21 
GeneralRe: Get Parent Process Pin
Gert Boddaert1-Oct-00 10:02
Gert Boddaert1-Oct-00 10:02 
Generaldll Pin
Larry1-Oct-00 7:16
Larry1-Oct-00 7:16 
GeneralRe: dll Pin
Mustafa Demirhan1-Oct-00 8:57
Mustafa Demirhan1-Oct-00 8:57 
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 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.