Click here to Skip to main content
15,907,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuestion About UNICODE? Pin
ashxly20-Dec-02 6:51
ashxly20-Dec-02 6:51 
AnswerRe: Question About UNICODE? Pin
AlexO20-Dec-02 7:55
AlexO20-Dec-02 7:55 
GeneralRe: Question About UNICODE? Pin
ashxly21-Dec-02 7:26
ashxly21-Dec-02 7:26 
GeneralAdministrative privileges Pin
Cris20-Dec-02 6:02
Cris20-Dec-02 6:02 
GeneralRe: Administrative privileges Pin
AlexO20-Dec-02 7:59
AlexO20-Dec-02 7:59 
GeneralDisabling buttons with bitmaps Pin
Luis E. Cuadrado20-Dec-02 4:59
Luis E. Cuadrado20-Dec-02 4:59 
GeneralRe: Disabling buttons with bitmaps Pin
Alvaro Mendez20-Dec-02 5:15
Alvaro Mendez20-Dec-02 5:15 
GeneralRe: Disabling buttons with bitmaps Pin
Luis E. Cuadrado20-Dec-02 6:22
Luis E. Cuadrado20-Dec-02 6:22 
plain-vanilla CButton...that was a good one Laugh | :laugh:

Well, I think is a CButton because I added a member varialbe using Class Wizzard, and the button has an object ID. To be honest, I didn't wrote the code to make the button enabled and working. Someone else did it and is not with us anymore. I worked with the regular buttons before, but not with those that have bitmaps on it. I was looking arround the code and this is what I think the other person did:

m_autoBitmap.LoadBitmap(IDB_AUTO);<br />
::SendMessage(::GetDlgItem(m_hWnd, ID_AUTO_BTN), BM_SETIMAGE, IMAGE_BITMAP, (long)m_autoBitmap.operator HBITMAP());


Does this helps? If you need anything else let me know.

Thanks again Alvaro,

Luis E. Cuadrado
Blush | :O )
GeneralRe: Disabling buttons with bitmaps Pin
Alvaro Mendez20-Dec-02 6:48
Alvaro Mendez20-Dec-02 6:48 
Generalfactorial program Pin
liboogie1920-Dec-02 4:18
liboogie1920-Dec-02 4:18 
GeneralRe: factorial program Pin
carrie20-Dec-02 4:51
carrie20-Dec-02 4:51 
GeneralRe: factorial program Pin
Bret20-Dec-02 10:04
Bret20-Dec-02 10:04 
GeneralAbout Cedit Newline Pin
Old Gun20-Dec-02 4:11
Old Gun20-Dec-02 4:11 
GeneralRe: About Cedit Newline Pin
Raphael Kindt20-Dec-02 4:33
Raphael Kindt20-Dec-02 4:33 
GeneralRe: About Cedit Newline Pin
Raphael Kindt20-Dec-02 4:39
Raphael Kindt20-Dec-02 4:39 
GeneralRe: About Cedit Newline Pin
Pavel Klocek20-Dec-02 4:39
Pavel Klocek20-Dec-02 4:39 
GeneralRe: not my answer Pin
Old Gun20-Dec-02 5:08
Old Gun20-Dec-02 5:08 
QuestionIntelliSense forgetting things? Pin
S O S20-Dec-02 3:13
S O S20-Dec-02 3:13 
AnswerRe: IntelliSense forgetting things? Pin
Rage20-Dec-02 3:19
professionalRage20-Dec-02 3:19 
GeneralRe: IntelliSense forgetting things? Pin
Rickard Andersson2020-Dec-02 3:34
Rickard Andersson2020-Dec-02 3:34 
GeneralRe: IntelliSense forgetting things? Pin
Rage20-Dec-02 3:41
professionalRage20-Dec-02 3:41 
GeneralRe: IntelliSense forgetting things? Pin
Tim Smith20-Dec-02 3:41
Tim Smith20-Dec-02 3:41 
AnswerRe: IntelliSense forgetting things? Pin
jhwurmbach20-Dec-02 3:51
jhwurmbach20-Dec-02 3:51 
GeneralRe: IntelliSense forgetting things? Pin
Nitron20-Dec-02 4:21
Nitron20-Dec-02 4:21 
GeneralRe: IntelliSense forgetting things? Pin
S O S20-Dec-02 5:03
S O S20-Dec-02 5:03 

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.