Page 2 of 4
Posted: Thu Mar 18, 2004 1:38 pm
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
Timo
Posted: Thu Mar 18, 2004 1:42 pm
by PolyVector
Thanks!
you're amazing freak...frickin' amazing

Posted: Thu Mar 18, 2004 4:25 pm
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)
Posted: Thu Mar 18, 2004 6:10 pm
by Epyx
also here (gf4ti4200)
Posted: Thu Mar 18, 2004 6:32 pm
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
Posted: Thu Mar 18, 2004 7:15 pm
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...

Posted: Thu Mar 18, 2004 7:27 pm
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

Posted: Thu Mar 18, 2004 7:34 pm
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
3.9 without 3D Improvements ?
Posted: Thu Mar 18, 2004 7:38 pm
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.
Posted: Thu Mar 18, 2004 7:57 pm
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

Posted: Thu Mar 18, 2004 8:11 pm
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:
Posted: Fri Mar 19, 2004 1:20 am
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
Posted: Fri Mar 19, 2004 1:25 am
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...
Posted: Fri Mar 19, 2004 2:10 am
by Dreglor
hmm maybe it your card
Posted: Fri Mar 19, 2004 3:41 am
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.