flat assembler
Message board for the users of flat assembler.

Index > Windows > Holy Macro's My Titlebar Icon is MISSING ?

Author
Thread Post new topic Reply to topic
machinecoder



Joined: 07 Apr 2013
Posts: 27
machinecoder 18 Aug 2013, 07:37
One last problem with my Dialogbox

The ICON is missing from the titlebar (shows in folder)

Code:
        dialog MAINDIALOG,'APPNAME'....,WS_CAPTION+WS_VISIBLE+WS_SYSMENU+WS_MINIMIZEBOX+DS_CENTER
    

Code:
        directory RT_ICON,icons,\
                  RT_GROUP_ICON,group_icons,\    

Code:
        resource icons,\
           1,LANG_NEUTRAL,icon_data

        resource group_icons,\
           17,LANG_NEUTRAL,main_icon    


PS: I dont know how to call MAKEINTRESOURCE

Can anyone help, thanks in advance.
Post 18 Aug 2013, 07:37
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20289
Location: In your JS exploiting you and your system
revolution 12 Sep 2013, 09:36
MAKEINTRESOURCE is a macro:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms648029%28v=vs.85%29.aspx

All it does is convert the input integer type to a dword value.
Post 12 Sep 2013, 09:36
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.