News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

GDTabs - custom tabs control

Started by ramguru, August 17, 2007, 10:00:48 PM

Previous topic - Next topic

Jupiter

Hi ramguru
nice to see your another god damn project ;)

I like your screen, but on my system app doesn't work as expected:
arrows don't work;
when switching tabs, buttons aren't switched (only window);
while resizing I got painting artifacts

If you want so, I can take screenshots for each problem.

My system:
DELL Laptop (Core 2 Duo)
ATI Mobility x1400
WinXP MCE SP2 ENG
(I can provide another info if you need it)
EnJoy!

ramguru

Thanks, Jupiter  :bg
You're my saver:
Now it's fact:

That the problem has nothing to do with video card ('caz there are problem on both manufactures: ati, nvidia),
has nothing to do with OS,
and I could 99% assure that it's not related with my code.

so it's obvious that it's a result of something supernatural.

If to be serious...I'm out of ideas  :lol

Jupiter

at least 1% that the problem is related to your code ;)
EnJoy!

Mark Jones

Hi Ramguru, I'm working on a screen capture for GDTabs, might take a bit yet. I cannot view your video, the page just comes up blank - is there any way to link to the file directly? Maybe if I can save it locally it will work.
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

ramguru

I appreciate your efforts, Mark
Here is link to zip that contains avi

Hot-linking isn't working so you have to copy-paste it
http://geek.php0h.com/gdtabs_Screen_Stream.zip

The previous link was based on flash...
Thanks again.

Jupiter

Hi ramguru
I attach archive with screenshots (PNG) with 3 bugs illustrated:
GDTabs_Bug_Resize_H_001.png
GDTabs_Bug_Resize_V_001.png
GDTabs_Bug_Wrong_Selection_001.png

as I already mentioned, <> buttons don't work at all.

[attachment deleted by admin]
EnJoy!

ramguru

Thanks for this, I hope I can do something to fix that  ::)

Mark Jones

Yes I have a problem with flash for some reason. The ActiveX flash-plugin works, but FireFox insists the browser flash-plugin is not installed. Spent a few hours the other day trying to fix it, but gave up after changing registry permissions per Adobe FAQ...

Your capture .avi displays perfectly Ramguru. GDTabs works fine for you, lucky! :-)

Here's my capture in zipped x264/MP2.5 AVI format: Mark-GDTabs
If you need the decoder, see www.videolan.org/developers/x264.html
I use ffdshow for decoder and configure it to read x264 with "libavcodec."
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

ramguru

Thanks, Mark
I appreciate the time you've spent creating that video  :U wow and even voice (probably yours) - very cool;  :clap:

Quote from: what Mark saidThat's why I said it might have something to do with a ... the mouse position checking code, because it's not noticing that any of this is being highlighted here
I think you made a wrong assumption - mouse position is checked correctly, really, but probably InvalidateRect doesn't invalidate anything, or perhaps SetBrushOrgEx isn't working as expected, or maybe my bitmap split algo isn't doing its stuff. I can only guess, the worst moment is that I cannot make small changes and be sure it will fix these problems, 'cuz I don't see any problem on my PC...but I swear to fix everything :)

ramguru

OK I made a little program that may detect what exactly is wrong (small chances of that, but any is better than none :) )

Now please Mark_Jones & Jupiter if you're willing to help run this app and report the results :) thanks in advance.
There are 4 tests to check :)

[attachment deleted by admin]

Jupiter

Hi ramguru

Test results:


1. bitmap splitOK
2. SetBrushOrgEx + PatBltOK
3. InvalidateRect 0OK
4. InvalidateRect 1OK

All tests passed OK

P.S. I think that the problem is related to click capture
EnJoy!

ramguru

Thanks now if you could test this...  :U
?? do still see many issues ??

[attachment deleted by admin]

Jupiter

this version is more buggy than previous one ;)

click on tab, switch to another app and return - tab disappears ;)
finally there is no tabs at all - only <> buttons


EnJoy!

ramguru

Thanks, Jupiter
Maybe renaming project from "goddamn" tabs to "god blessed" tabs could solve the problem  :lol
...
I'm starting to lose my patience with this project   :'(

Jupiter

Quote from: ramguru on August 27, 2007, 01:10:43 PM
Maybe renaming project from "goddamn" tabs to "god blessed" tabs could solve the problem  :lol
:lol
Holy Tabs ;)

what about creating separate class for buttons itself? it will be much easy to test|debug your code imho
EnJoy!