User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25

Thread: Powerful Dialogs Object (Beta)

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Powerful Dialogs Object (Beta)

    Hi everybody,

    Tonight I will release the Powerful Dialogs Object for you all to test. This object can create many varieties of dialogs with many powerful features. This beta version includes the ability to create five types of dialog boxes: MessageBoxes, Color Choosers, Font Dialogs, Icon Pickers, and AboutBoxes. Dialogs this object includes that are already available in MMF have been expanded on. This object also adds some new types of dialogs to MMF.

    I strongly suggest you take a took at the included help file and examples before using this object. This will help you get a basic understanding of how to use the object.

    The font size options of the Font Dialog seem to be uncontrollable (this is a bug). I plan to fix this in the release version of the object. If you catch any other bugs or have any requests, please post here. Enjoy!
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Powerful Dialogs Object (Beta)

    Hey, nice object.
    I think it's good to summarize all dialogs in one extensions... it sucks to have several objects to show some boxes.
    For the sizing thing...
    PHP Code:
    HDC hDC=GetDC(NULL);
    int fsize abs(height*GetDeviceCaps(hDC,LOGPIXELSY)/136);
    ReleaseDC(NULL,hDC); 
    I have used this in Scintilla. Source = Google. No clue why, but it works perfectly... never encountered any problems.

  3. #3
    No Products Registered

    Join Date
    Oct 2008
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Powerful Dialogs Object (Beta)

    Shouldn't this go under Extension Development?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Powerful Dialogs Object (Beta)

    I tried it, seems like another very nice extension Jaffob

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Powerful Dialogs Object (Beta)

    Looki: How should I implement the code? I assume fsize is the initial font size? And what is height?

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Powerful Dialogs Object (Beta)

    ...!? height is the input. fsize is the output (of course, I declared it in my code!)

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Powerful Dialogs Object (Beta)

    I'm sorry, I don't understand. I don't see how that could help me. I think I need to convert a font size to a width and height for a specified font in a LOGFONT structure.

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Powerful Dialogs Object (Beta)

    Don't you mean LOGFONT to font size? That would make much more sense, since the dialogue gives you a LOGFONT and you want the font size.
    Take the height field of the LOGFONT.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Powerful Dialogs Object (Beta)

    You might not understand. The problem isn't getting the font, it's setting it. Since I am initializing the dialog with the LOGFONT structure, I have to somehow set the size of the font using that structure.

  10. #10
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Powerful Dialogs Object (Beta)

    Oh, sorry! Never mind then...:blush:

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Powerful Dialogs Object
    By Jaffob in forum Released Extensions
    Replies: 5
    Last Post: 29th September 2015, 10:45 PM
  2. Android Dialogs [Beta]
    By Stephen in forum Android Export Module Version 2.0
    Replies: 98
    Last Post: 18th April 2014, 07:43 PM
  3. Powerful Dialogs Object?
    By warlords in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th April 2013, 08:17 PM
  4. Beta 33- [BUG] possible issue with Android Dialogs
    By Kisguri in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 23rd August 2012, 05:45 PM
  5. [Build Error] Problems with Android Dialogs Object
    By Arnax in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 21st December 2011, 04:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •