Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCDC GetWindowExt WinXP->Win98 Pin
FriendOfAsherah4-Sep-04 3:47
FriendOfAsherah4-Sep-04 3:47 
Generalopening a wav file in programming visual c++ Pin
sysrye4-Sep-04 3:26
sysrye4-Sep-04 3:26 
GeneralRe: opening a wav file in programming visual c++ Pin
Joel Holdsworth4-Sep-04 5:34
Joel Holdsworth4-Sep-04 5:34 
GeneralRe: opening a wav file in programming visual c++ Pin
Anonymous4-Sep-04 14:29
Anonymous4-Sep-04 14:29 
QuestionMapping COM port ???? Pin
zahid_ash4-Sep-04 2:38
zahid_ash4-Sep-04 2:38 
GeneralAbout Windows Services Pin
zahid_ash4-Sep-04 2:34
zahid_ash4-Sep-04 2:34 
GeneralSimple PNG loading... Pin
Joel Holdsworth4-Sep-04 2:17
Joel Holdsworth4-Sep-04 2:17 
GeneralRe: Simple PNG loading... Pin
Chris Losinger4-Sep-04 13:18
professionalChris Losinger4-Sep-04 13:18 
if you'll allow me a blatant advertisement, i can recommend my company's own library, ImgSource. it does tons more than just loading PNGs, but the linker will ensure that only the parts you use will get used, so you won't get penalized if you don't use it all. PNG support should add about 100K to your app.

here's a sample:
<br />
// three lines to get a PNG into a DIB<br />
HISSRC hSrc = IS3OpenFileSource(filename);<br />
HGLOBAL hDIB = IS3ReadImageToDIB(hSrc,...);<br />
IS3CloseSource(hSrc);<br />
<br />
BITMAPINFOHEADER *pDIB = (BITMAPINFOHEADER *)hDIB;<br />
<br />
...<br />
<br />
// delete it when you're done.<br />
GlobalFree(hDIB);<br />


-c


Software | Cleek

GeneralRe: Simple PNG loading... Pin
Joel Holdsworth5-Sep-04 3:52
Joel Holdsworth5-Sep-04 3:52 
Generalvisual c++, pocket pc, xml and Python Pin
ajaybrar4-Sep-04 1:06
ajaybrar4-Sep-04 1:06 
GeneralRe: visual c++, pocket pc, xml and Python Pin
Gary R. Wheeler4-Sep-04 2:30
Gary R. Wheeler4-Sep-04 2:30 
GeneralRe: visual c++, pocket pc, xml and Python Pin
ajaybrar4-Sep-04 2:42
ajaybrar4-Sep-04 2:42 
GeneralRe: visual c++, pocket pc, xml and Python Pin
Gary R. Wheeler4-Sep-04 8:48
Gary R. Wheeler4-Sep-04 8:48 
GeneralRe: visual c++, pocket pc, xml and Python Pin
ajaybrar4-Sep-04 15:29
ajaybrar4-Sep-04 15:29 
GeneralTo be notify when a port(tcp/udp) is being opened... Pin
ZarrinPour4-Sep-04 0:43
ZarrinPour4-Sep-04 0:43 
QuestionMulticolor CEdit ?? Pin
pma4-Sep-04 0:00
pma4-Sep-04 0:00 
AnswerRe: Multicolor CEdit ?? Pin
Maximilien4-Sep-04 2:53
Maximilien4-Sep-04 2:53 
GeneralRe: Multicolor CEdit ?? Pin
David Salter4-Sep-04 5:17
David Salter4-Sep-04 5:17 
GeneralRe: Multicolor CEdit ?? Pin
Maximilien4-Sep-04 5:35
Maximilien4-Sep-04 5:35 
GeneralRe: Multicolor CEdit ?? Pin
David Salter4-Sep-04 5:42
David Salter4-Sep-04 5:42 
Generaludb brodcast Pin
pma3-Sep-04 23:40
pma3-Sep-04 23:40 
GeneralExchanging rows in CListCtrl Pin
IQ03-Sep-04 22:36
IQ03-Sep-04 22:36 
GeneralRe: Exchanging rows in CListCtrl Pin
David Crow4-Sep-04 17:18
David Crow4-Sep-04 17:18 
GeneralDXSDK 9 (Summer2004) and Visual C++ 6 issue Pin
tareqsiraj3-Sep-04 22:24
tareqsiraj3-Sep-04 22:24 
GeneralRe: DXSDK 9 (Summer2004) and Visual C++ 6 issue Pin
Bob Stanneveld3-Sep-04 23:16
Bob Stanneveld3-Sep-04 23:16 

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.