2011/9/20 Lubos Pintes <pin...@gmail.com>:
> Hi,
> Probably the problem is TBitBtn. Although after heavy fighting with the IDE
> I was able to set the Caption, screen reader is unable to see it.
> I made an experiment where I put two buttons, one TButton, and one TBitBtn
> to form. I was confused, because those component have window class name
> "Button". I mean win32 window class name.
> So it looked like "Ok, it is Button, regular Windows control, but is not
> named".

The caption is not set, because the button is ownerdrawn in procedure
DrawBitBtnImage.

>
> Request for some clever guy here: Can someone please point me to part of LCL
> source code where windows things are made? I mean where handles are created,
> window classes defined etc.

 TWin32WSBitBtn.CreateHandle in lazarus/lcl/interfaces/win32/win32wsbuttons.pp

Vincent

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to