What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » Permission To Capture A Screenie

Pages: (4): « First « 1 2 [ 3 ] 4 » Last »
Permission To Capture A Screenie
Author: Message:
LipoToid
Junior Member
**

Avatar
LipoToid

Posts: 24
Joined: Oct 2005
O.P. RE: RE: Permission To Capture A Screenie
quote:
Originally posted by CookieRevised
If it is as clear and "logical" as you stated, the button must have opened a webpage to http://www.msgpluslive.net/, as that is what the logo means. Which clearly this wasn't the intention. Thus, sorry, but you didn't specified it properly at first though...
quote:
Originally posted by LipoToid
Why not just consider the merits of this effort as an extension for the IM user as a whole?
Has got nothing to do with this. I never said it is a crappy product or anything like that in that context.

I replied because it was not stated exactly what the use will be of that button as it was not clearly stated (appart from some vague "it will open the browser").
I pointed out (in a simple info sidenote to my main post) that you didn't specified enough what the button would do, so nobody (including the folks on the other forum where the same question was asked) could give you any direct advise or suggestion if it is/was allowed or not... ...nothing more.

Anyways, and for what it is worth: It is a good and nice idea to make a program for.


As I said earlier, I should have made my statement request clearer from the initial beginning.  Sometimes as I develop I tend to make assumptions and they usually land me in a ditch somewhere.:P

Like the  word Paradox:
( A pair of two Doctors Discussing )

Overall you're correct CookieRevised.

Respectfully,
LipoToid
01-31-2006 07:35 PM
Profile E-Mail PM Web Find Quote Report
LipoToid
Junior Member
**

Avatar
LipoToid

Posts: 24
Joined: Oct 2005
O.P. RE: Permission To Capture A Screenie
Hello,

Could someone point me to the location where the messenger plus! ( .ico ) file is located. It will be used for this ADFT application within the Tree Cntrl for navigating the nodes within this app for Messenge Plus!.

Respectfully,
LipoToid
02-03-2006 05:14 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Permission To Capture A Screenie
quote:
Originally posted by LipoToid
Hello,

Could someone point me to the location where the messenger plus! ( .ico ) file is located. It will be used for this ADFT application within the Tree Cntrl for navigating the nodes within this app for Messenge Plus!.

Respectfully,
LipoToid
quote:
Originally posted by CookieRevised
For the Messenger Plus! forum this icon is found here:
http://shoutbox.menthix.net/favicon.ico



code:
Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long


Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean
    Dim lngRetVal As Long
    lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
    If lngRetVal = 0 Then DownloadFile = True
End Function


Private Sub Form_Load()


    DownloadFile "http://shoutbox.menthix.net/favicon.ico", "c:\favicon.ico"
     
    ImageList1.ListImages.Add 1, , LoadPicture("C:\favicon.ico")
   
    TreeView1.ImageList = ImageList1
   
    TreeView1.Nodes.Add , , , "Messenger Plus!", 1
   
    Kill "C:\favicon.ico"
   
End Sub

This post was edited on 02-03-2006 at 08:25 PM by matty.
02-03-2006 08:14 PM
Profile E-Mail PM Find Quote Report
LipoToid
Junior Member
**

Avatar
LipoToid

Posts: 24
Joined: Oct 2005
O.P. RE: Permission To Capture A Screenie
I stated earlier that I would not be posting anymore images in the Topic area for the ADFT application but I thought that maybe I should post this one last image for review by Messenger Plus! Admins to make any comments (+) or (-) about the usage of the favicon.ico for Messenger Plus! that is used in the Tree of the ADFT application.

Image: [Image: Alpha61.jpg]

Respectfully,
LipoToid
02-03-2006 10:01 PM
Profile E-Mail PM Web Find Quote Report
Chestah
Veteran Member
*****

Avatar

Posts: 1658
Reputation: 34
36 / Male / –
Joined: Jun 2004
RE: Permission To Capture A Screenie
quote:
Originally posted by Matty

   
RE: Permission To Capture A Screenie

    quote:Originally posted by LipoToid
    Hello,

    Could someone point me to the location where the messenger plus! ( .ico ) file is located. It will be used for this ADFT application within the Tree Cntrl for navigating the nodes within this app for Messenge Plus!.

    Respectfully,
    LipoToid


    quote:Originally posted by CookieRevised
    For the Messenger Plus! forum this icon is found here:
    http://shoutbox.menthix.net/favicon.ico





    code:
    Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long


    Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean
        Dim lngRetVal As Long
        lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
        If lngRetVal = 0 Then DownloadFile = True
    End Function


    Private Sub Form_Load()


        DownloadFile "http://shoutbox.menthix.net/favicon.ico", "c:\favicon.ico"
         
        ImageList1.ListImages.Add 1, , LoadPicture("C:\favicon.ico")
       
        TreeView1.ImageList = ImageList1
       
        TreeView1.Nodes.Add , , , "Messenger Plus!", 1
       
        Kill "C:\favicon.ico"
       
    End Sub



You might want to add some error trapping in there as well just incase one of the servers you're accessing are down.. infact why not just download the .ico images and add them into the application resources?

Error Trapping code:

Try
<<insert code here that you would like to happen>>

Catch ex As Exception
<<insert code here that happens when an error occurs>>
<< ex.message = string of the error that occured>>

End Try
Segosa is newb.
02-04-2006 12:48 AM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Permission To Capture A Screenie
quote:
Originally posted by Chestah
You might want to add some error trapping in there as well just incase one of the servers you're accessing are down.. infact why not just download the .ico images and add them into the application resources?

Error Trapping code:

Try
<<insert code here that you would like to happen>>

Catch ex As Exception
<<insert code here that happens when an error occurs>>
<< ex.message = string of the error that occured>>

End Try
It was just an example. And this way if the icon changes it will get updated.
02-04-2006 01:00 AM
Profile E-Mail PM Find Quote Report
Chestah
Veteran Member
*****

Avatar

Posts: 1658
Reputation: 34
36 / Male / –
Joined: Jun 2004
RE: Permission To Capture A Screenie
hehe sorry, yeah i didn't mean it in a correcting you sorta way :P.
Segosa is newb.
02-04-2006 01:43 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Permission To Capture A Screenie
quote:
Originally posted by LipoToid
(...) Maybe I should post this one last image for review by Messenger Plus! Admins to make any comments (+) or (-) about the usage of the favicon.ico for Messenger Plus! that is used in the Tree of the ADFT application.

Image: http://www.LipoToid.com/ADFT/Alpha61.jpg
Make sure you select the correct subimage from the icon. The favicon of Messenger Plus! consists of 2 images: 16x16x16 colors and 16x16x256 colors. If you don't select the proper image format (256 colors in almost all cases), the first image (16 colors) is automatically selected, which looks not good.

If you don't know how, search the MSDN library and the icon/cursor API's. Or you can hardcode the icon inside your application (but pick the 256 color one), though it wouldn't be updated automatically in that case if the icon ever changes (would be rare anyways)...

PS: try not to double post
.-= A 'frrrrrrrituurrr' for Wacky =-.
02-04-2006 01:53 AM
Profile PM Find Quote Report
LipoToid
Junior Member
**

Avatar
LipoToid

Posts: 24
Joined: Oct 2005
O.P. RE: Permission To Capture A Screenie
Thanks guys,

The images for now are hard-coded. Later I will introduce a version that will allow one to make image selections for the Tree.
I want to get the parsing engine throughly working before anymore additional U.I. stuff.

Also, this is a C++ application and not a VB.

Respectfully,
LipoToid
02-04-2006 01:59 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Permission To Capture A Screenie
quote:
Originally posted by LipoToid
The images for now are hard-coded.
If the last screenshot you showed in this thread was from the hard coded icons, then please use the 256 color icon from Messenger Plus! favicon.ico.

quote:
Originally posted by LipoToid
Also, this is a C++ application and not a VB.
Nice, but why do you say this? If it was in responce to Matty's code: the code shown from Matty is indeed VB, but that doesn't matter, the important thing is that it showed a way to "auto-update" the icons using the downloadfile API, aka proof-of-concept code...

If it was in response to Chestah's suggestion for error trapping/checking on non existing icons on the web, then that also goes for C++...

If it was in response to my post: I didn't talked about VB at all, what I said goes for any language you program it in...


;)

This post was edited on 02-04-2006 at 02:26 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
02-04-2006 02:25 AM
Profile PM Find Quote Report
Pages: (4): « First « 1 2 [ 3 ] 4 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On