Discussion Locked

Picture Buttons

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am writing a program in Assembly. I was wondering if anyone knew how to place an image on a button.

4 replies

by dachev

You are asking a question, which answer would take a medium sized book :)

If you are doing this under Windows, you have to know things even the Microsoft programmers do not know - how the system operates on its lowest level - addresses of functions, buffers, databases, etc.. - things the high-level compilers know how to get.

Anyway - basically the picture is a binary data buffer, which must be copyed on its propper place (address in the memory). You should find where this is, and read thedata from a file to this place.

If you are not doing it under windows, or any other graphics mode host environment - contact me, I will tell how to do it, else - find a book :)

by jinuq

On windows from what I can get from the Windows SDK there is image control that will send the WM_CLICK commands along with the double click.

by jinuq

I was seeing if someone less busy could give me a pointer. I know that it can be done in windows. With out too much of a problem.

This discussion is closed to new replies.