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

C / C++ / MFC

 
GeneralRe: SHBrowseForFolder question Pin
mark novak8-Jun-05 15:20
mark novak8-Jun-05 15:20 
GeneralCreating ODBC source Pin
Richard Jones8-Jun-05 9:50
Richard Jones8-Jun-05 9:50 
GeneralRe: Creating ODBC source Pin
Tom Archer8-Jun-05 10:10
Tom Archer8-Jun-05 10:10 
GeneralRe: Creating ODBC source Pin
Richard Jones9-Jun-05 2:24
Richard Jones9-Jun-05 2:24 
GeneralFont Style in CListCtrl Pin
RickyC8-Jun-05 9:32
RickyC8-Jun-05 9:32 
GeneralRe: Font Style in CListCtrl Pin
mark novak8-Jun-05 15:00
mark novak8-Jun-05 15:00 
GeneralRe: Font Style in CListCtrl Pin
RickyC9-Jun-05 2:02
RickyC9-Jun-05 2:02 
GeneralTrying to load bitmap from a path in GDI+ Pin
Anonymous8-Jun-05 8:05
Anonymous8-Jun-05 8:05 
I'm trying to load up a GDI+ bitmap using a pathname, and it does not work.

Here is what I try to do:
Bitmap bitmap(L"Images\\picture.bmp");

What DOES work is:
Bitmap bitmap(L"picture.bmp");
i.e., if the bitmap is in the same directory as the program

Bitmap bitmap(L"C:\\Images\\picture.bmp");
i.e., providing the full path name from the C drive

However, I cannot load it up from the base directory of the program for some reason. The picture is, of course, in the folder, and it works if I specify the entire path name starting from C drive, but not if I attempt to start from the program's directory.

Help ??

Thanks
GeneralRe: Trying to load bitmap from a path in GDI+ Pin
PJ Arends8-Jun-05 9:27
professionalPJ Arends8-Jun-05 9:27 
GeneralRe: Trying to load bitmap from a path in GDI+ Pin
Tom Archer8-Jun-05 10:15
Tom Archer8-Jun-05 10:15 
GeneralRe: Trying to load bitmap from a path in GDI+ Pin
Anonymous8-Jun-05 11:50
Anonymous8-Jun-05 11:50 
GeneralGet resources strings Pin
Kaworu28-Jun-05 6:34
Kaworu28-Jun-05 6:34 
GeneralRe: Get resources strings Pin
David Crow8-Jun-05 9:14
David Crow8-Jun-05 9:14 
GeneralRe: Get resources strings Pin
Kaworu28-Jun-05 20:13
Kaworu28-Jun-05 20:13 
GeneralRe: Get resources strings Pin
Kaworu28-Jun-05 20:15
Kaworu28-Jun-05 20:15 
GeneralGet Value From Registry Key Pin
Matthew Devine8-Jun-05 6:25
Matthew Devine8-Jun-05 6:25 
GeneralRe: Get Value From Registry Key Pin
Blake Miller8-Jun-05 6:40
Blake Miller8-Jun-05 6:40 
GeneralRe: Get Value From Registry Key Pin
Matthew Devine8-Jun-05 6:56
Matthew Devine8-Jun-05 6:56 
GeneralRe: Get Value From Registry Key Pin
ThatsAlok8-Jun-05 18:26
ThatsAlok8-Jun-05 18:26 
GeneralRe: Get Value From Registry Key Pin
Matthew Devine9-Jun-05 6:17
Matthew Devine9-Jun-05 6:17 
GeneralRe: Get Value From Registry Key Pin
ThatsAlok9-Jun-05 18:14
ThatsAlok9-Jun-05 18:14 
GeneralRe: Get Value From Registry Key Pin
Matthew Devine11-Jul-05 4:29
Matthew Devine11-Jul-05 4:29 
Generalmaking a library Pin
Jared F.8-Jun-05 6:11
Jared F.8-Jun-05 6:11 
GeneralRe: making a library Pin
mark novak8-Jun-05 15:14
mark novak8-Jun-05 15:14 
GeneralRe: making a library Pin
Jared F.10-Jun-05 5:10
Jared F.10-Jun-05 5:10 

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.