Click here to Skip to main content
15,920,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I change cursors? Pin
Chris Losinger16-Sep-02 8:51
professionalChris Losinger16-Sep-02 8:51 
AnswerRe: How do I change cursors? Pin
Michael Dunn16-Sep-02 11:16
sitebuilderMichael Dunn16-Sep-02 11:16 
Generalprint pdf without Acrobat. Pin
pnpfriend16-Sep-02 7:32
pnpfriend16-Sep-02 7:32 
GeneralRe: print pdf without Acrobat. Pin
l a u r e n16-Sep-02 10:46
l a u r e n16-Sep-02 10:46 
GeneralRe: print pdf without Acrobat. Pin
Anonymous16-Sep-02 13:39
Anonymous16-Sep-02 13:39 
GeneralPlacing Icons on a CStatic-derived class Pin
MightyThor16-Sep-02 7:23
MightyThor16-Sep-02 7:23 
GeneralRe: Placing Icons on a CStatic-derived class Pin
Joaquín M López Muñoz16-Sep-02 9:27
Joaquín M López Muñoz16-Sep-02 9:27 
GeneralRe: Placing Icons on a CStatic-derived class Pin
MightyThor16-Sep-02 10:10
MightyThor16-Sep-02 10:10 
Thanks for replying and sorry for not mentioning the line i created the control:

<br />
CTableTextStatic *pSta = new CTableTextStatic;<br />
pSta->Create( "Test", WS_CHILD | WS_VISIBLE | WS_THICKFRAME | SS_ICON | SS_CENTERIMAGE | SS_NOTIFY, CRect( 525, 100, 650, 125 ), this, 12654 ); <br />
pSta->SetIcon( AfxGetApp()->LoadIcon( IDR_MAINFRAME ) );<br />


So I already declared its style to display icons.

For drawing the icon, there are some nice methods of CDC class such as StrechBlt but instead of HICON i am allowed to use HBITMAP.
GeneralRe: Placing Icons on a CStatic-derived class Pin
MightyThor17-Sep-02 7:00
MightyThor17-Sep-02 7:00 
QuestionHow to use webdings on a button Pin
Max Santos16-Sep-02 6:55
Max Santos16-Sep-02 6:55 
Generalwindows messages Pin
Zizilamoroso16-Sep-02 6:28
Zizilamoroso16-Sep-02 6:28 
GeneralRe: windows messages Pin
Mike Nordell16-Sep-02 6:33
Mike Nordell16-Sep-02 6:33 
GeneralRe: windows messages Pin
Zizilamoroso16-Sep-02 6:45
Zizilamoroso16-Sep-02 6:45 
GeneralRe: windows messages Pin
Pavel Klocek16-Sep-02 8:14
Pavel Klocek16-Sep-02 8:14 
GeneralProblem with "User breakpoint" and RtlFreeHeap. All help appreciated. Pin
16-Sep-02 6:20
suss16-Sep-02 6:20 
Generalpositioning problems Pin
ns16-Sep-02 5:41
ns16-Sep-02 5:41 
GeneralRe: positioning problems Pin
Bill Wilson16-Sep-02 5:51
Bill Wilson16-Sep-02 5:51 
GeneralRe: positioning problems Pin
Max Santos16-Sep-02 6:14
Max Santos16-Sep-02 6:14 
QuestionReuse CFormview derived class as dialog? Pin
Aaron Schaefer16-Sep-02 5:23
Aaron Schaefer16-Sep-02 5:23 
AnswerRe: Reuse CFormview derived class as dialog? Pin
Pavel Klocek16-Sep-02 8:24
Pavel Klocek16-Sep-02 8:24 
GeneralSingle computer identification Pin
doctorpi16-Sep-02 5:14
doctorpi16-Sep-02 5:14 
GeneralRe: Single computer identification Pin
Max Santos16-Sep-02 6:52
Max Santos16-Sep-02 6:52 
GeneralRe: Single computer identification Pin
Renjith Ramachandran16-Sep-02 7:47
Renjith Ramachandran16-Sep-02 7:47 
GeneralRe: Single computer identification Pin
TyMatthews16-Sep-02 10:49
TyMatthews16-Sep-02 10:49 
GeneralURGENT required help on Multiple Dialog & SetTimer problem! Pin
16-Sep-02 4:52
suss16-Sep-02 4:52 

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.