Announcement

Collapse
No announcement yet.

Resource file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest
    Guest replied
    That did the trick! Thanks for the info Borje.

    Adam

    ------------------

    Leave a comment:


  • Borje Hagsten
    replied
    Assign a number to the specific bitmap. Example:

    In your .rc file:

    1 BITMAP BMPNAME.BMP


    In your .bas file, declare:

    %ID_IMAGEBMP = 1

    ------------------

    Leave a comment:


  • Guest
    Guest started a topic Resource file

    Resource file

    Just a simple question, how do I assign a id for a bitmap image in my resource file? I learned how to do it for other resources but not a bitmap image. I could not find an example for this.

    If I have say,

    tabm.nID = %ID_IMAGEBMP in my source code;How would I associate this id with the bitmap file(that actually contains multiple images) in my *.rc file?

    All I need is one example and I can take the rest from there.
    If you need more of my code to help me, then let me know but I think I have given enough info.

    Thanks,
    Adam
Working...
X
😀
🥰
🤢
😎
😡
👍
👎