PureBasic 3.89 Beta 1 - Public release

Developed or developing a new product in PureBasic? Tell the world about it.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

PolyVector:

This is quite easy to do. Just combine a PanelGadget() and a MDIGadget(),
When you add an item to the MDIGadget(), just do the same with the Panel,
and when one of it fires a change event, just update the other as well.

I have quickly modified my ImageViewer example to show how to do it.
I don't want to overload this Thread with more code posts, so get it here:

http://freak.purearea.net/code/ImageViewer_Tabs.zip

Just look for every appearance of #GADGET_Panel, to see all the changes,
that I've made. It is really easy to do 8)

Timo
quidquid Latine dictum sit altum videtur
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

Thanks!
you're amazing freak...frickin' amazing :)
KuschelTeddy82
New User
New User
Posts: 9
Joined: Thu Jul 10, 2003 3:13 pm
Location: Germany

Post by KuschelTeddy82 »

Now the Sprite3D don't work :(
I just see white squares now. Maybe the fix with the size made it incompatible to the some gfx-cards? 8O (TNT2)
User avatar
Epyx
User
User
Posts: 44
Joined: Fri May 09, 2003 10:54 am
Location: Germany
Contact:

Post by Epyx »

also here (gf4ti4200)
If you can't make it good, at least make it look good.
Bill Gates
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

freak wrote: fsw:
Is that Ctrl+F4 standart behaviour for MDI apps? if so, i will add it.
Yes it is.
Start the MDI application and open a child window.
Now open up the 'SystemMenu' of the child window.
You will see:
  • Restore
    Move
    Size
    Minimize
    Maximize
    --------------------
    Close Ctrl+F4
    Next Ctrl+F6
Bye
Franco
Hi-Toro
Enthusiast
Enthusiast
Posts: 269
Joined: Sat Apr 26, 2003 3:23 pm

Post by Hi-Toro »

system for objects, to get ride of numbers
Oh, good lad! This was one thing I've always felt let PB down -- glad to hear those lousy index numbers are going... :)
James Boyd
http://www.hi-toro.com/
Death to the Pixies!
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

The update program seems to work, but the compiler dies because of error...

Constant already declared with a different value: #FILE_ATTRIBUTE_ENCRYPTED

I think this is a library problem, but which one ?

Help :(
Paid up PB User !
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

fsw wrote:
  • Restore
    Move
    Size
    Minimize
    Maximize
    --------------------
    Close Ctrl+F4
    Next Ctrl+F6
lol, i never noticed that. (even though the 'close' one is written in bold) 8O
I'll add it then.


dontmailme:
lots of people have this problem... see here:
viewtopic.php?t=9916

Timo
quidquid Latine dictum sit altum videtur
sigi
User
User
Posts: 79
Joined: Fri Apr 25, 2003 7:16 pm
Location: Germany

3.9 without 3D Improvements ?

Post by sigi »

Hi,
i love every update to this superb Language.
Thank you for this.

But.... there are no new Commands to the 3dEngine.
It`s the second Update without any major Improvements on this.
I`m a bit angry about this. If i look at the OGRE Examples from their
Website i see what we could do, if all Features would be implemented
to PB.

Sorry for my not so good English.
ShDancer
User
User
Posts: 51
Joined: Sat Apr 26, 2003 5:49 am

Post by ShDancer »

dontmailme wrote:The update program seems to work, but the compiler dies because of error...

Constant already declared with a different value: #FILE_ATTRIBUTE_ENCRYPTED

I think this is a library problem, but which one ?

Help :(
Same here :( don't know wich library has that constant defined :(
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

It works after removing ....

WinConstantsToPb.RES
and morelisticongadget from the user library dir.....

It did for me at least ;)

Best way is a clean install........ but I can't remember how to do that ?!?! :roll:
Paid up PB User !
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

Post by Falko »

hi (sorry my very bad english from german post) :)
The MoreListIconGadget.res is ok (no crash).

It`s the WinConstantsToPB.res (already declared in Windows.res)
Following constants i have erased. You find the pb source in
\PureBASIC\Source\WinConstantsToPB\ WinConstantsToPB without comments.pb

search and remove this following constants in WinConstantsToPB.pb

Code: Select all

#FILE_ATTRIBUTE_ENCRYPTED 
#FILE_ATTRIBUTE_OFFLINE 
#FILE_ATTRIBUTE_REPARSE_POINT 
#FILE_ATTRIBUTE_SPARSE_FILE 
Use the WinConstantsToPB.bat to create a new WinConstantsToPB.res
and copy this into PB Resident - Folder.

greathing from Falko
Last edited by Falko on Sat Mar 20, 2004 8:33 pm, edited 3 times in total.
www.falko-pure.de
Win11 Pro 64-Bit, PB_6.11b1
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Post by kenmo »

Ahhhhh - Is it just a coincidence that Sprite3D and MovieSprites appear white, ANYTHING 3D simply crashes, and SpecialFXSprites run extremely choppy? (as opposed to PB's famous supersmooth 2d...)

MDI is sweet though!!!

EDIT - Well, back to 3.80 I go...
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Post by Dreglor »

hmm maybe it your card
~Dreglor
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Post by kenmo »

I got a nvidia Geforce4 MX... 64 mb video if that matters.

edit - Well, I guess I should have mentioned that they all work fine in 3.80.
Post Reply