forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


bitmap buttons question?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Jan 14, 2003 10:56 pm    Post subject: bitmap buttons question? Reply with quote

hello all


i have a question how do you make bitmap buttons? i mean i see how you can selected what icon you want ,etc BUT when you run the code the button works but what if other user runs the code will you have to give him your bitmap file to? or is there other way you have to do this?

thanks
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Tue Jan 14, 2003 11:20 pm    Post subject: Reply with quote

Yes you must include the bitmap with your software, if you registered VDS you will be given a complimentary file to download which has a resource compiler in it. This allows you to compile .txt, .bmp, .ico files inside of a .DSR file which is a resource file.

Instead of using a filename for the BITBTN use the filename.dsr|2343 where the last part 2343 (note I used 2343 here as an example) is the byte offset of the image inside of the resource file. The resource compiler will report back to you the byte offsets of all files you compile into a resource file.

You then can distribute your exe, vdsrun40.dll and the resource file to your users.
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Jan 14, 2003 11:43 pm    Post subject: ohhhh Reply with quote

ok i see what you mean..so that is what the vdsrc.exe is for to make this resource file.
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Wed Jan 15, 2003 1:13 am    Post subject: Reply with quote

Yup Smile, open it up in the command prompt and it will give you instructions on how to use, it's really quite simple. You basically make a .RC file which is just a list of files (bmp's, txt, etc) seperated on each line and then pass this .rc file to the vdsrc. The vdsrc then compiles those files into one .DSR resource file.
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Wed Jan 15, 2003 1:19 am    Post subject: ahhhhh Reply with quote

yup i see what to do now Smile

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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 can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group