Adobe Dreamweaver Forums



Last 10 THreads :         How to build Star War style captions (Last Post : 2009 Matt - Replies : 0 - Views : 1 )           »          Funky Repeater Problem (Please help !!!) (Last Post : Amy Blankenship - Replies : 5 - Views : 6 )           »          Local network and FTP access (Last Post : cspocspo - Replies : 0 - Views : 1 )           »          CS4: CSS export not working for text with image (Last Post : dv8kiwi - Replies : 11 - Views : 12 )           »          Multiple users on one PC (Last Post : cspocspo - Replies : 0 - Views : 1 )           »          type casting (Last Post : xXx--mr-G--xXx - Replies : 2 - Views : 6 )           »          Point to file bug in CS4 still (Last Post : msc-photoAndWeb - Replies : 1 - Views : 7 )           »          First Frame field (Last Post : Laer2 - Replies : 2 - Views : 3 )           »          Extension Manager CS4 not installing extensions inDreamweaver CS4 (Last Post : chungmx5 - Replies : 15 - Views : 16 )           »          Inserts are not in same lines (Last Post : Walt F. Schaefer - Replies : 3 - Views : 4 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Authorware
 
Tags: , , , , , ,



Reply
  #1 (permalink)  
Old 04-13-2008, 02:56 AM
Bernd Oleschinski
 
Posts: n/a
Diggs:
Default Display text on defined Positions inCalculation Icon with Winapi.u32

Hi

I want to display text on calculated Position in the window. I use an
XML-File to store the Position of the text.

Now I try to display the text with the winapi.u32 under Win XP. For some
reason I don't get the text displayed.

My code is:
-------------------------------
myHandle := GetDC(WindowHandle)

error := TextOut(myHandle; X; Y; "Hallo World"; 11)

ReleaseDC(WindowHandle; myHandle)
---------------------------------

No Text appears on the screen.

Somebody can help??


Thanks


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-13-2008, 02:56 AM
Steve Howard
 
Posts: n/a
Diggs:
Default Re: Display text on defined Positions inCalculation Icon with Winapi.u32

Use a Display Icon.

Type this into it

{MyText}

Set the Initial X and InitialY locations of the Display Icon to MyX and MyY

Before the Display Icon, in a calc

MyText:="Hello World"
MyX:=10
MyY:=20




Steve


--
EuroTAAC eLearning 2007
http://www.eurotaac.com

Adobe Community Expert: Authorware, Flash Mobile and Devices
My blog - http://stevehoward.blogspot.com/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 04:45 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk