Click here to Skip to main content
15,914,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Random Name Generator Pin
David Crow15-Aug-09 5:20
David Crow15-Aug-09 5:20 
AnswerRe: Random Name Generator Pin
Chuck Vought14-Aug-09 10:19
Chuck Vought14-Aug-09 10:19 
GeneralRe: Random Name Generator Pin
David Crow14-Aug-09 10:27
David Crow14-Aug-09 10:27 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 10:36
Chuck Vought14-Aug-09 10:36 
GeneralRe: Random Name Generator Pin
sashoalm15-Aug-09 4:20
sashoalm15-Aug-09 4:20 
GeneralRe: Random Name Generator Pin
Chuck Vought15-Aug-09 13:35
Chuck Vought15-Aug-09 13:35 
Questionflowing strings on BMP image of SDI View window? Pin
rambojanggoon12-Aug-09 21:39
rambojanggoon12-Aug-09 21:39 
AnswerRe: flowing strings on BMP image of SDI View window? Pin
KarstenK12-Aug-09 22:04
mveKarstenK12-Aug-09 22:04 
in painting you draw at first the background and than draw the top painting stuff. So in your case you first draw the bmp and than draw the text. To draw nice the you got to create a own Font (CFont).

Here is some API-code:

BOOL DrawTextTransparent(HDC hdc, HFONT hFont, const RECT& rc, LPCTSTR pszText, UINT cnt)
{
     HFONT hFontOld = (HFONT) ::SelectObject( hdc, hFont );
     int iBkMode = ::SetBkMode( hdc, TRANSPARENT );
     BOOL b = ::ExtTextOut( hdc, rc.left, rc.top, ETO_CLIPPED, &rc, pszText, cnt, 0 );//read the help
     ::SetBkMode( hdc, iBkMode );
     ::SelectObject( hdc, hFontOld );

     return b;
}

Press F1 for help or google it.
Greetings from Germany

Questionhow to display many picture in 1 dialog Pin
DevelopmentNoob12-Aug-09 19:32
DevelopmentNoob12-Aug-09 19:32 
AnswerRe: how to display many picture in 1 dialog Pin
DevelopmentNoob12-Aug-09 19:42
DevelopmentNoob12-Aug-09 19:42 
GeneralRe: how to display many picture in 1 dialog Pin
Code-o-mat12-Aug-09 21:27
Code-o-mat12-Aug-09 21:27 
GeneralRe: how to display many picture in 1 dialog Pin
DevelopmentNoob12-Aug-09 23:45
DevelopmentNoob12-Aug-09 23:45 
GeneralRe: how to display many picture in 1 dialog Pin
Code-o-mat13-Aug-09 0:08
Code-o-mat13-Aug-09 0:08 
GeneralRe: how to display many picture in 1 dialog [modified] Pin
DevelopmentNoob13-Aug-09 15:24
DevelopmentNoob13-Aug-09 15:24 
GeneralRe: how to display many picture in 1 dialog Pin
Code-o-mat13-Aug-09 20:59
Code-o-mat13-Aug-09 20:59 
GeneralRe: how to display many picture in 1 dialog Pin
DevelopmentNoob13-Aug-09 21:22
DevelopmentNoob13-Aug-09 21:22 
GeneralRe: how to display many picture in 1 dialog Pin
Code-o-mat13-Aug-09 21:43
Code-o-mat13-Aug-09 21:43 
GeneralRe: how to display many picture in 1 dialog Pin
DevelopmentNoob13-Aug-09 22:35
DevelopmentNoob13-Aug-09 22:35 
GeneralRe: how to display many picture in 1 dialog Pin
Code-o-mat13-Aug-09 22:39
Code-o-mat13-Aug-09 22:39 
AnswerRe: how to display many picture in 1 dialog Pin
CPallini12-Aug-09 21:03
mveCPallini12-Aug-09 21:03 
QuestionComboBox Pin
kumar sanghvi12-Aug-09 19:25
kumar sanghvi12-Aug-09 19:25 
AnswerRe: ComboBox Pin
Bacon Ultimate Cheeseburger12-Aug-09 19:51
Bacon Ultimate Cheeseburger12-Aug-09 19:51 
GeneralRe: ComboBox Pin
kumar sanghvi12-Aug-09 19:59
kumar sanghvi12-Aug-09 19:59 
GeneralRe: ComboBox Pin
Bacon Ultimate Cheeseburger12-Aug-09 20:26
Bacon Ultimate Cheeseburger12-Aug-09 20:26 
GeneralRe: ComboBox Pin
kumar sanghvi13-Aug-09 21:49
kumar sanghvi13-Aug-09 21:49 

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.