Here is a demo i wrote in 2006 to see if i could emulate the VISTA look on XP and W2K with WinDev.
To open a second child popup, click on the round button located on the left of the caption.
The name of the EXE is VistaSkin.exe
...
It looks great but huge runtimes from PC-Soft 4.5 meg for a little translucent window!
Well I suppose it's no worse than downloading a large photograph or 4 minutes of MP3 but hard to reconcile with our philosophy of small efficiently coded programs.
It's a size versus productivity tradeoff, and size is getting cheaper all the time.
huge runtimes from PC-Soft 4.5 meg
Yes, but smaller than the DotNET framework. ;D
And when you create a complete CRM or ERP application then the EXE size will be still the same ;)
The real gain is not about the program size, but productivity.
I can create a complete working, and modern looking application, 10 to 100 time faster than with true compiled code, and the "end user" will only see the result, not the size of the code and the language being used to wrote it.
WinDev is being used by more than 80,000 programmers world wide, they can't be all wrong 8)
And they pay each year, at least 450 Euro to get the latest version...
(full version Euro 1200)
There must be definitly some benefits for all these guys to use it, or they are all mad (including myself).
...
Looking through their brochure, it seems very business oriented. Square spectacles and smiley teeth ;D. This kind of programming lends itself very well to systematisation, but for multimedia stuff games, CAD and anything unusual, I presume you are thrown back to low level programming.
--Charles
"Buisiness programming" is where i earn my living, multimedia programming, as we say here, is my "danseuse" (dancing girl).
However I am also a third party addon provider for WinDev with my GDImage, and multimedia tools (written in PB).
...
Patrice, I think the WinDev People are on the right way.
Maybe they are "bussiness oriented", but not everybody has rich parents and can do his job "just for the arts".
I think PB must also be a bit more "bussiness oriented" bacause in other words this means:
"Produce what people want, expect and buy".
QuotePatrice, how is the combination of PB and WinDev for GUIs ?
Could you recommend that? Maybe call a PB-DLL and use a WinDEV GUI?
Yes they both work fine together.
Here is an example of WinDev code calling my GDImage API:
// Add a new sprite image to the GDImage control
FUNCTION GDImageAddSpriteImage(UseSprite is string, x is int, y is int, nUseDecor is int)
nID, nSpriteCount, nIndice, nRVB, nRVBc, hBitmap, NewID, nIDtoClone are int
rZoomValue is 4-byte real = ZI_GetZoomValue(gCtrl) // Get current Zoom value
// Indice de la couleur sélectionnée
nIndice = ArraySeek(tabListeRAL, asLinear, "CodeRAL", COMBO_Color)
nRVB = tabListeRAL[nIndice]:CodeRVB
nRVBc = tabListeRAL[nIndice]:ContourRVB
sLabel is string = fExtractPath(UseSprite, fFileName)
hBitmap = GDImageBuildSpriteDecor(UseSprite, nRVB, nRVBc)
NewID = 0
IF hBitmap THEN
NewID = IncrID() // Incrément ID et gSprite array
nSpriteCount = ArrayCount(gSprite)
IF nSpriteCount THEN
nIDtoClone = 0
// On détecte les objets similaires pour récupérer le handle du bitmap
// au lieu d'en créer un nouveau (clonage)
FOR nID = 1 TO nSpriteCount
IF gSprite[nID]:decor = nUseDecor THEN
IF gSprite[nID]:clone = 0 THEN // On peut clone cet objet
nIDtoClone = gSprite[nID]:ID
BREAK
END
END
END
END
IF nIDtoClone THEN // L'objet existe déjà on le clone
ZD_CloneObject(nIDtoClone, NewID, x, y)
SpriteArrayGet(NewID)
ELSE
ZD_DrawBitmapToCtrl(gCtrl, x, y, hBitmap, ZD_ColorARGB(255, nRVB), NewID, ZS_VISIBLE)
ZD_SetObjectImageLabel(NewID, sLabel)
ZD_SetObjectScroll(NewID, True)
//ZD_SetObjectLocked(NewID, True)
ZD_UsePngOpacity(NewID, True)
gSprite[NewID]:filename = UseSprite // Nom du décor sans l'extension LeContour ou LeFond
END
SpriteArrayGet(NewID)
ZD_SetObjectZorder(ID_DECOR, ZD_ORDER_TOP)
ZI_UpdateWindow(gCtrl, False) // Show new sprite
END
RESULT NewID // New sprite unique ID, if success
And here is an example of WD encapsulation of a GDImage function:
// Retrieve each byte from an ARGB color
PROCEDURE ZD_GetObjectARGB(ID is int, Alpha is 1-byte unsigned int, Red is 1-byte unsigned int, Green is 1-byte unsigned int, Blue is 1-byte unsigned int)
API(MyDLL, "ZD_GetObjectARGB", ID, &Alpha, &Red, &Green , &Blue)
...
Panorama 360
See attached to this post a WD10 (WinDev 10) project based on the GDImage built-in OpenGL features.
...
Carousel
To help you make a comparison, you can check two versions of my GDImage carousel demo.
1 - the PB version that is there:
http://www.jose.it-berater.org/smfforum/index.php?topic=1327.0 (http://www.jose.it-berater.org/smfforum/index.php?topic=1327.0)
2 - The WinDev version attached to this post in CarouselWD.zip (main exe Carrousel.exe)
...
This Windwev thing runs very smooth even under W2k.
About the Panorama - this is the smoothest Panorama I've ever seen. Especially as I run it at 1944x1440 and its still smooth.
WinDev + GDImage, a winning combination! (http://forum.mysnip.de/read.php?27131,2444)
(http://www.zapsolution.com/windev/demo/SuperMenu.jpg)
Try the resulting EXE in the attached ZIP file
Thanks Patrice,
I like your PB projects more as they are more compact.
But the sample works cool, the flying window on the start is cool!
Just one problem - left clicking is ok, but I cannot get the context menu displayed.
Thanks,
Petr
Petr,
QuoteI like your PB projects more as they are more compact.
Yes, but WinDev does so many things that would take me... years, to program with any low level language.
Thus between efficiency and small size, when i have to produce a large CRM application, i can do it ten time faster than with anything else. This gives me a definitive advantage on any competitors, as long as they are not using WinDev themselves ;D
Quotebut I cannot get the context menu displayed
The extra contextual menu pops up, only when you "right clic on any of the two thumbnail on the left.
If it doesn't work for you, this is perhaps related to the same symptom you had with the skinned button in the color picker of my SDK examples, perhaps another CZ windoz oddity ;)
...
Hi Patrice,
yes, WinCZ might be the problem, although I continuously use Windows Update, the combobox in color picker still does not work.
So I am tweaking out zColorpick_basic.inc, which does not have any comboobx part, only the click-and-pick color part.
Once finished, I will publish it here so others can use it too.
Thanks,
Petr
Hello Günter,
Looks like at least you and another PowerBASIC user followed my advice ;)
You will soon discover how much WinDev could increase your PowerBASIC productivity.
Using WD to create your interface with ease and PB to speed up things with plain Win32 DLL.
...
Here is a WinDev XII demo, that makes use of the built-in photo setup features of GDImage version 4.05
(http://www.zapsolution.com/pictures/PhotoSetup.jpg)
Clic here to download the full project (http://www.zapsolution.com/preview/PhotoSetup.zip)
Note: before changing the settings, try first the Zoom and Rotation to figure how fast GDImage is.
Make sure also to clic on the background navigate buttons to see all the different interfaces!
...
WD12 + GDImage = WOW !
See the transparency/opacity being used for the controls
(http://www.zapsolution.com/pictures/Transparence2.jpg)
:o
WinDev II and your Tools seem really to be a great combination!
But its not that easy to use, I have taken a look on the Demo.
It would need quite a lot of time to get new into WinDev.
Theo
I don't know any programming language that won't need a learning phase.
If you want to know what people think of it, then ask there. (http://forum.mysnip.de/list.php?27131)
There are many WinDev programmers in Germany and Austria, you will probably find one living close to you, i am sure you can ask on the forum to find one willing to show you what could be done with it.
PowerBASIC is perfect to write DLL(s) to work with WinDev.
But for a guy like you, looking for an advanced form designer, then it is a piece of cake, and for me "their screen designer" is the best i have ever used.
8)
True, Patrice.
Once you have somebody to show you the first steps, it would be a good thing.
While the support doesn't seem to be really fast, see:
http://forum.mysnip.de/read.php?27131,11620
I'll keep it in mind anyway for projects which need this.
GDImage/WinDev "Touch screen" application:
This one is being used to let the user adjust the color parameters before printing the picture, using a custom buttom set.
(See the buttons at the bottom of the screen).
(http://www.zapsolution.com/pictures/PixiBorne.jpg)
...
(http://www.zapsolution.com/windev/PhotoSetupWD12.jpg)
To use the "anti red-eye" feature select the button surrounded in red, then adjust the ellipse matching the eye using the rubber band.
When you are done press the right mouse button and select "Apply", that's all.
You can download the WD12 demo project there (http://www.zapsolution.com/windev/PhotoSetupWD12.zip).
This project uses many advanced features, like working in composited mode, and changing the theme on the fly, with state of the art antialiased background. And there are several background themes, to let you play with.
Until february 28, 2009 there is a special bundle operation between PhotoSetup and GDImage Pro, available either in WD12 or WD14.
Bleu ?
Usualy, shade of gray, but could be shade of blue or any other color.
SIMVIZ is a visual simultator designed for the training of tunnel administrators.
It is a mix of GDImage (5.00) and DirectX (OGRE) altogether, in a composited skinned application.
You can simulate complex scenarii, and see in real time in the 3D view port what is going on, selecting the camera location and orientation inside of the tunnel.
All the sprites being used are GDImage 5.00 multi-state objects that are suitable for the purpose of animation.
(http://www.zapsolution.com/pictures/SIMVIZ1.jpg)
The application embed several GDImage controls, one of them displays a map that is used to select a specific tunnel (the red pushpin).
(http://www.zapsolution.com/pictures/SIMVIZ2.jpg)
One of the great GDImage's strength is its capacity to produce interactive application that can be used with many programming languages, with always the same GUI interface whatever the Windows version being used.
Note: WinDev has been selected to create this application, because of its built-in database, great screen designer and report generator facilities.
...
This is the second WD14 application based on GDImage 5.00
Marine Dashboard
(http://www.zapsolution.com/pictures/Widget01.jpg)
Widget!
...
SoliDesign is a GDImage 5.00 application being used by a shade manufacturer (Soliso Europe) as a "before sale" help tool for his distributors/representatives.
Screen shot 1
(http://www.zapsolution.com/pictures/SoliDesign1.jpg)
Screen shot 2
(http://www.zapsolution.com/pictures/SoliDesign2.jpg)
...
Ready to use GDImage Skin template for WD14:
(http://www.zapsolution.com/DW/preview/wd_template00.jpg)
(http://www.zapsolution.com/DW/preview/wd_template00a.jpg)
(http://www.zapsolution.com/DW/preview/wd_template00b.jpg)
(http://www.zapsolution.com/DW/preview/wd_template00c.jpg)
...