[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Big symbol text in the background --Get/Set Scroll of window



PureBytes Links

Trading Reference Links

Tomasz,

Thank you for confirming that it is possible for AFL to do this and  
giving me the starting point for how to do this.

It is a big challenge for me, since I am unfamiliar with every aspect  
involved in the process, and have no need to learn all the things  
involved other than to create one or two simple DLLs to save and  
restore the scroll position.  It looks like a straight forward process  
from the link you provided.

I will do whatever it takes to get this done on my own or with the  
help of others on this board  --PM me if you can help.

This DLL will become part of the Flexible Params functions which I  
will make freely available to all.

This DLL will only be called in direct response to a user click action  
on a parameter in the Parameters Window that requests the "Reset all"  
button to be clicked manually or preferably by AutoIt, so there will  
be no conflict between the user and the machine with regard to the  
scroll positioning.

Of course suggestion #380 (with my additional comments) would  
eliminate the need for this DLL and using AutoIt.  However,  
workarounds are better than nothing and certainly a tribute to you for  
providing the means to use them with the AmiBroker program.

Best regards,
Dennis

On Apr 25, 2008, at 4:28 AM, Tomasz Janeczko wrote:
> Hello,
>
> Generally "scroll position" is available to any program via low- 
> level Windows API.
> It is NOT language dependent.
>
> http://msdn2.microsoft.com/en-us/library/bb787585(VS.85).aspx
>
> To call such function you would need to write DLL (examples are  
> included in AmiBroker Development Kit
> freely available from the amibroker web site). AFL in such area is  
> even better than
> "general purpose" VBScript / JScript because these two do NOT allow  
> that.
>
> Note that it is generally bad idea to interfere with UI controls  
> that are intendend
> to be moved by end-user, not by the program.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Dennis Brown" <see3d@xxxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, April 25, 2008 3:48 AM
> Subject: Re: [amibroker] Re: Big symbol text in the background
>
>
>> Tomasz,
>>
>> I accept your challenge and take your word at face value.  Is it
>> possible through AFL (by some OLE or other reasonable means) to read
>> the scroll position of the Parameters Window and set it again later  
>> to
>> the same position (after a Reset all button press)?
>>
>> All I want to do is preserve the scroll position of the window  
>> after a
>> reset all. :-)
>>
>> Best regards,
>> Dennis
>>
>> On Apr 24, 2008, at 8:51 PM, Tomasz Janeczko wrote:
>>> Hello,
>>>
>>> AFL although has array constructs, it works also
>>> as any other general purpose procedural language such as VB/
>>> VBScript, JScript, C.
>>>
>>> So the language is powerful enough to code everything user cames up
>>> with
>>> provided that the user wants to learn.
>>>
>>> History of this list shows dozens of examples where I have shown how
>>> to write "impossible" things. So I repeat once again: *nothing* is
>>> impossible.
>>>
>>> With AFL and its tremendous extensibility (OLE/DLLs) you can easily
>>> control space shuttle if you want.
>>>
>>> Best regards,
>>> Tomasz Janeczko
>>> amibroker.com
>>> ----- Original Message -----
>>> From: "Dennis Brown" <see3d@xxxxxxxxxxx>
>>> To: <amibroker@xxxxxxxxxxxxxxx>
>>> Sent: Friday, April 25, 2008 2:30 AM
>>> Subject: Re: [amibroker] Re: Big symbol text in the background
>>>
>>>
>>>> Brian,
>>>>
>>>> Ok, I understand where you are coming from.
>>>>
>>>> The reason I ask the question is because I work from the assumption
>>>> that AB/AFL is a worthy general programming language for taking
>>>> series
>>>> data (of most types) and transforming it into files or displays.  I
>>>> know my assumption is flawed, because Tomasz wrote AB with the
>>>> express
>>>> purpose of quickly processing time series data in the form of stock
>>>> information in specific ways and generating displays that were
>>>> relevant to the same.  Some of the implementation choices he made
>>>> limit the general purpose usability  of AB for tasks he did not
>>>> expect
>>>> it to be used for.  Many of my suggestions for improvements are
>>>> simply
>>>> requests to make AB/AFL more general purpose so that I can be more
>>>> creative with how I process stock and related information, interact
>>>> with the user, and display the results.  If it were not for the  
>>>> fact
>>>> that Tomasz listens to his users, and responds with improvements, I
>>>> would have abandoned AB a year ago for some other more general  
>>>> tool.
>>>>
>>>> In the case of the statement you made, I do not know if it is
>>>> possible
>>>> to do it all in AB.  I assume it is.  I ask because I thought you  
>>>> had
>>>> tried, but found some roadblock to success.
>>>>
>>>> On the Mac topic.  I expect you will have a great time exploring  
>>>> the
>>>> alternate universe I live in, regardless of what you ultimately
>>>> decide
>>>> to do for you next machine.
>>>>
>>>> Have a great time at the beach.  It is just getting towards Summer
>>>> weather here and the fruit trees are all in bloom.
>>>>
>>>> Best regards,
>>>> Dennis
>>>>
>>>> On Apr 24, 2008, at 5:34 PM, brian_z111 wrote:
>>>>> Dennis,
>>>>>
>>>>> I'm off to the beach for a few days to catch 'the last wave of
>>>>> summer'.
>>>>>
>>>>> A quick answer:
>>>>>
>>>>> Don't worry about it on my behalf.
>>>>>
>>>>> I assume that the intellectual/programming price to do it inside  
>>>>> AB
>>>>> is too high for me (I take it you are suggesting it can be done).
>>>>>
>>>>> I have a policy (based on my age, temperament and efficiency) to
>>>>> only
>>>>> do the programming that I have to.
>>>>> I prefer to outsource my 'non-essential' programming to people who
>>>>> are brilliant at it and focus on what I do best.
>>>>>
>>>>> My preferred option is to just get the trade series, plus key
>>>>> evaluation inputs, from AB and do analysis/evaluation/MM  
>>>>> elsewhere.
>>>>>
>>>>> I am heading towards beefing up my Excel skills OR buying a stats
>>>>> package and/or adding custom evaluation/management (either outside
>>>>> of
>>>>> AB or eventually with an AB plugin - I'm likely to pay a  
>>>>> programmer,
>>>>> or do a joint venture, to get the plugins I want).
>>>>>
>>>>> BTW - you have got me interesed in Mac.
>>>>>
>>>>> I'll check them out further later - I'm due for a new desktop so I
>>>>> might expand my computer world (I keep my second oldest computer
>>>>> until the next cycle anyway so I will still have a MS Windows
>>>>> desktop).
>>>>>
>>>>> I thought the computer earth was flat and ended at Microsofts back
>>>>> fence!
>>>>>
>>>>> Now that you have told me otherwise..............
>>>>>
>>>>> cheers,
>>>>>
>>>>> brian_z
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --- In amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@xxx> wrote:
>>>>>>
>>>>>> Why can't you?  What is the function that is missing to do that?
>>>>>>
>>>>>> ~Dennis
>>>>>>
>>>>>> On Apr 23, 2008, at 9:51 PM, brian_z111 wrote:
>>>>>>> I would jump up and down on my pogo stick for a week if I could
>>>>>>> return a custom metric as a data series, get a stdev, bin it  
>>>>>>> (do a
>>>>>>> frequency dist) and view the dist in a chart with the push of a
>>>>>>> button.
>>>>>>>
>>>>>>> Heaven, I'm in heaven! (Lisa Minelli?)
>>>>>>>
>>>>>>> brian_z
>>>>>>>
>>>>>>> --- In amibroker@xxxxxxxxxxxxxxx, "Duke Jones, CMT" <Duke@>  
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Tomasz,
>>>>>>>>
>>>>>>>> Neat trick with the GFX exmple in the KB. Now if we could only
>>>>> get
>>>>>>> you
>>>>>>>> to show us how to do a bell curve distribution plot! :-)
>>>>>>>>
>>>>>>>> http://www.amibroker.com/kb/?p=72
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Duke Jones, CMT
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------
>>>>>>>
>>>>>>> Please note that this group is for discussion between users  
>>>>>>> only.
>>>>>>>
>>>>>>> To get support from AmiBroker please send an e-mail directly to
>>>>>>> SUPPORT {at} amibroker.com
>>>>>>>
>>>>>>> For NEW RELEASE ANNOUNCEMENTS and other news always check  
>>>>>>> DEVLOG:
>>>>>>> http://www.amibroker.com/devlog/
>>>>>>>
>>>>>>> For other support material please check also:
>>>>>>> http://www.amibroker.com/support.html
>>>>>>> Yahoo! Groups Links
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------
>>>>>
>>>>> Please note that this group is for discussion between users only.
>>>>>
>>>>> To get support from AmiBroker please send an e-mail directly to
>>>>> SUPPORT {at} amibroker.com
>>>>>
>>>>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>>>>> http://www.amibroker.com/devlog/
>>>>>
>>>>> For other support material please check also:
>>>>> http://www.amibroker.com/support.html
>>>>> Yahoo! Groups Links
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------
>>>>
>>>> Please note that this group is for discussion between users only.
>>>>
>>>> To get support from AmiBroker please send an e-mail directly to
>>>> SUPPORT {at} amibroker.com
>>>>
>>>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>>>> http://www.amibroker.com/devlog/
>>>>
>>>> For other support material please check also:
>>>> http://www.amibroker.com/support.html
>>>> Yahoo! Groups Links
>>>>
>>>>
>>>>
>>>
>>> ------------------------------------
>>>
>>> Please note that this group is for discussion between users only.
>>>
>>> To get support from AmiBroker please send an e-mail directly to
>>> SUPPORT {at} amibroker.com
>>>
>>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>>> http://www.amibroker.com/devlog/
>>>
>>> For other support material please check also:
>>> http://www.amibroker.com/support.html
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>
>>
>> ------------------------------------
>>
>> Please note that this group is for discussion between users only.
>>
>> To get support from AmiBroker please send an e-mail directly to
>> SUPPORT {at} amibroker.com
>>
>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>> http://www.amibroker.com/devlog/
>>
>> For other support material please check also:
>> http://www.amibroker.com/support.html
>> Yahoo! Groups Links
>>
>>
>>
>
> ------------------------------------
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
>
>


------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/