Announcement

Collapse
No announcement yet.

How to make such a GUI style?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to make such a GUI style?

    Hello All,

    is it possible to create such a GUI style (see pic, like Office 2003) with Powerbasic 9? perhaps you have a small tutorial for me.
    Thanks for helping a newbie.

    Greetings
    Roland
    Attached Files

  • #2
    Suggest you search these forums for "toolbar" and "icon"!

    Comment


    • #3
      You are hereby awarded twelve (12) points for including a picture of what you want in lieu of trying to explain it using only the English language.
      Michael Mattias
      Tal Systems Inc. (retired)
      Racine WI USA
      [email protected]
      http://www.talsystems.com

      Comment


      • #4
        And if you can't find anything, try Jose Roca (I think he or someone has something similar at http://www.jose.it-berater.org/smfforum/index.php

        Although from instinct of cobwebs in my mind, you may need to search for the word "OWNER DRAWN" and toolbars, because of "The programmers "GUT-FEELING" and nothing else (I could be wrong..but I could be right)

        Hey MCM...where is the scoreboard, and how far in the hole am I with CNDS?
        (love a good razz from time to time )
        Engineer's Motto: If it aint broke take it apart and fix it

        "If at 1st you don't succeed... call it version 1.0"

        "Half of Programming is coding"....."The other 90% is DEBUGGING"

        "Document my code????" .... "WHYYY??? do you think they call it CODE? "

        Comment


        • #5
          It's a custom control with the movable "bands" and floating palettes. Short of writing the whole thing yourself (believe me, it's not trivial), it would be easier to track down a third-party library that offers this kind of control in a DLL.

          OCX controls are not natively supported, I believe, as PB does not have the required "container" support unless you use a third party library to supply the container.
          kgpsoftware.com | Slam DBMS | PrpT Control | Other Downloads | Contact Me

          Comment


          • #6
            You might want to try earching for 'Rebar'. Here are a couple of starters..

            Rebar Sample(SDK): Ralph Berger
            http://www.powerbasic.com/support/do...iles/Rebar.zip

            DDT Rebar sample José Roca:
            http://www.powerbasic.com/support/pb...ad.php?t=23583
            Attached Files
            Rgds, Dave

            Comment


            • #7
              Jules' code is a start for docking toolbars if you have the time to re-write this control:

              http://www.powerbasic.com/files/pub/...ls/Dock-It.zip

              PS. There is one small compatibility issue: to fix, simply place a BYVAL on line 1047.
              kgpsoftware.com | Slam DBMS | PrpT Control | Other Downloads | Contact Me

              Comment


              • #8
                If I remember correctly, what you are refering to is called "Ribbons" which is supposedly a new GUI style used by Microsoft (not 100% sure).

                Either way, it is likely a custom control created by Microsoft for use in their own software and not a built in control in Windows.

                You could emulate the look of such a control by doing the following:

                (1) Create a Rebar control
                (2) add multiple Toolbars as bands to the Rebar control
                (3) subclass each toolbar (or put toolbar on a container window and draw its background)
                (4) draw a 3D gradient for each toolbar in the WM_ERASEBKGND message for it (or its container window).

                Example image attached to this post:
                Attached Files
                Chris Boss
                Computer Workshop
                Developer of "EZGUI"
                http://cwsof.com
                http://twitter.com/EZGUIProGuy

                Comment


                • #9
                  Hi Roland, if I understood your inquiry, I think you are asking how to have that kind of theme in your dialogs and controls.

                  I´m about to tackle that so as to give my application a fresh and unique look.
                  I searched the forums for the word THEME in the title of the post and found very little information, although valuable.
                  I suggest you do that.

                  And if either you or I find something useful I suggest we post it right here.

                  Regards
                  Last edited by Francisco Castanedo; 10 Nov 2008, 09:44 AM.
                  Francisco J Castanedo
                  Software Developer
                  Distribuidora 3HP, C.A.
                  [URL]http://www.distribuidora3hp.com[/URL]

                  Comment


                  • #10
                    Ok, here are good starting points:

                    http://www.powerbasic.com/support/pb...ighlight=Theme
                    http://www.powerbasic.com/support/pb...ighlight=Theme
                    http://www.codeproject.com/KB/winsdk/xptheme.aspx
                    http://www.helpwithwindows.com/WindowsXP/howto-13.html

                    http://delphi.about.com/od/toppicks/tp/aatpxpthemes.htm
                    Last edited by Francisco Castanedo; 10 Nov 2008, 10:07 AM.
                    Francisco J Castanedo
                    Software Developer
                    Distribuidora 3HP, C.A.
                    [URL]http://www.distribuidora3hp.com[/URL]

                    Comment

                    Working...
                    X