Real Software Forums http://forums.realsoftware.com/ |
|
How to set icon in upper left for a window http://forums.realsoftware.com/viewtopic.php?f=13&t=40853 |
Page 1 of 1 |
Author: | torrid [ Mon Oct 03, 2011 1:22 pm ] |
Post subject: | How to set icon in upper left for a window |
In VB6 each form has an icon property that shows in upper left of window... I don't think the mac has that on its windows... but Windows windows need that.... How or where do I set the icon property for a window? i.e. icon shown in upper left in windows... not sure if that appear on mac or not And will the mac compiled version just ignore it? While I'm at it how do you set the icons used by the compiled app that you see in Windows explorer for example... will that be the same icon? |
Author: | MonkeybreadSoftware [ Mon Oct 03, 2011 1:37 pm ] |
Post subject: | Re: How to set icon in upper left for a window |
If you use our MBS Plugins, you can use the Window.SetWindowIconMBS method. Greetings Christian |
Author: | timhare [ Mon Oct 03, 2011 4:17 pm ] |
Post subject: | Re: How to set icon in upper left for a window |
Isn't that just the application icon? In the project panel, click on App. Then in the properties pane, click on Icon. |
Author: | DaveS [ Mon Oct 03, 2011 5:53 pm ] |
Post subject: | Re: How to set icon in upper left for a window |
I think for OSX it is called a PROXY icon and is in the "center" next to the window title. I have some code for it.. but it is CARBON declares if you are interested |
Author: | pixe656 [ Mon Oct 03, 2011 5:55 pm ] |
Post subject: | Re: How to set icon in upper left for a window |
On Windows you can do it using API calls: http://www.vbaccelerator.com/home/vb/tips/setting_the_app_icon_correctly/article.asp This is a question that is regularly posed, so it would be great many people if we could convert that VB6 code to RB. Pixe |
Author: | MonkeybreadSoftware [ Tue Oct 04, 2011 5:37 am ] |
Post subject: | Re: How to set icon in upper left for a window |
Well, adding a windows resource to Real Studio apps is difficult. Our plugin creates a HICON on the fly from a picture and uses it or loads an ico file. Default is the app icon as Tim wrote. Greetings Christian |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |