Announcement

Collapse
No announcement yet.

WMF

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

  • WMF

    Guys --
    I want to include WMF-image into .RC (to avoid additional file). Is it possible ?

    ***********************
    I found another possible solution - see 'Source code' forum.
    But resource solution is also interesting to me.

    [This message has been edited by Semen Matusovski (edited April 09, 2000).]

  • #2
    I see tat WMF or EMF is not in the list(!)

    Maybe the setwinbits.. might help?
    (See my topic on loading WMF from a plain file)

    In that case an ordinary data handle should be used.
    (RT_RCDATA)

    lpszType
    [in] Pointer to a null-terminated string specifying the type name of the resource for which the type is being enumerated. For standard resource types, this parameter can be one of the following values. Value Meaning
    RT_ACCELERATOR Accelerator table
    RT_ANICURSOR Animated cursor
    RT_ANIICON Animated icon
    RT_BITMAP Bitmap resource
    RT_CURSOR Hardware-dependent cursor resource
    RT_DIALOG Dialog box
    RT_FONT Font resource
    RT_FONTDIR Font directory resource
    RT_GROUP_CURSOR Hardware-independent cursor resource
    RT_GROUP_ICON Hardware-independent icon resource
    RT_HTML HTML document
    RT_ICON Hardware-dependent icon resource
    RT_MENU Menu resource
    RT_MESSAGETABLE Message-table entry
    RT_PLUGPLAY Plug and play resource
    RT_RCDATA Application-defined resource (raw data)
    RT_STRING String-table entry
    RT_VERSION Version resource
    RT_VXD VXD


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

    Comment


    • #3
      Just posted an example in your topic "WMF in Bas".

      Now i get my face in the sun...


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

      Comment


      • #4
        Edwin --
        Works. Thanks

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

        Comment


        • #5
          I also posted a new FAQ on my site.
          This contains a slightly enhanced version of this procedure.
          I removed the stupid Buffer string.

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

          Comment

          Working...
          X