Budi Irawan wrote:
Hello Klaas,

I would like to disable object rotation when using edit tool. I only need scaling transformation. Do you know the best method to achieve this?


    PROPID_Allowrotation.SetPropertyToObject( this, false );
    PROPID_Allowskew.SetPropertyToObject( this, false );

Search for PROPID_Allowrotation in the code, to understand it use.
Its used in several objects.

Klaas

--
Unclassified
begin:vcard
fn:Klaas Holwerda
n:Holwerda;Klaas
note:Unclassified
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to