Hi, Here is something peculiar. If you compile this code (or make a plugin), you get a ghost control in the top left corner. However, if you set the preview to...
Hi, Please use ctl(CTL_PREVIEW):modify, .... and the problem should not occur. Harry ... From: FMML@yahoogroups.com [mailto:FMML@yahoogroups.com]On Behalf Of...
Hi Harry, I fell on a bug with the user control in vertical position STANDARD(VERT): while in case 1 everything works fine, in case 2 after cancelling the...
Sorry, don't bother: I got the same behaviour with other modifications (e.g. pset(x,y,0,0) )when zooming in and the zoomrate got at 20%. When I changed...
hi Roberto, almost trivial, but ok here's solution: When you set x to 500, the condition x<x_end in the "for" loop, will never be reached. You'll get an...
Hi Duncan, Sorry for replying a month later :-)))) but I just ran into your reply when cleaning up my Yahoo spam folder. It was in that folder so I never...
Hi there, Mehdi, Your reply was in my Yahoo spamfolder; luckily I just checked that folder out for cleaning up :-P Uhh... your solution you described is not a...
hi Roberto Strange, though, that an infinite loop crashes Photoshop ... shouldn't the plugin just be busy for an infinite while? FM postpone any user...
Hi Mehdi, Oh boy, it will take a while until I can follow the code inthere! I wonder if you can still follow it after reading it back months later with all...
Hey! Just noticed Mehdi's filter actually can be usefull afterall, when using Photoshop's saturation blending mode afterwards :-P After blending I ran into a...
Mehdi, I forgot to mention: I meant really "Photoshop crashed" and not just a "hanging system": back then with using x=500 instead of x==500, after two or...
Hi all, I would like to learn to work with float values, for obtaining more fluent results. I a manual I found that the float output of e.g. fsin(a) lies ...
hi Paul Simoens replace : angle=(float) 3.141592 *ctl(0) /180; with: angle=3.141592 *ctl(0) /180.0; Explanation: 180 is integer, while 180.0 is float (or...
Hi Mehdi, Thanks for this info! There were indeed some "traps" you simply need to know. I adapted the core code to as below. It might eventually be at interest...
Hi, I'm a bit bothered by the warning you get with last version of FM "Scaled pointer arithmetic is not yet implemented", when you type for instance "str4 +...
hi Harry , first the instruction: int nbr= (int)createRectRgn(215,30,410,250); doesn't work , it throws an error. And second , have you seen my code example ? ...
... I could be totally wrong - but looking at the Wiki it would seem that createRectRgn doesn't return an integer at all, but a pointer/handle to a Region...
Hi, I posted the following to FMML list on 28th may 2008 regarding code changes needed for the warnings which were introduced with FM 1.0 Beta 9c earlier that...
hi Van Der Lee, I don't understand why you made the handling of strings more complicated. The expression "scaled arithmetic pointer", just means nothing for...
hi Kohan, I didn't know that createRectRgn was a standard windows function. The comment explanations about region in wiki was made by me to conciliate with...
Hi, Does anybody know how to check whether a filter is being re-applied instead of started normally? I have some issues with ownerdraws and re-applying...
hi VanDerLee, I've put an attachment that will display an info box only when re-applying filter. The code can probably be improved , but it works. Rapidshare ,...
I think that "scaled" in this context means "pointers that increments in steps of sizeof(type) they point to"; they increment by the "scale" of the type. For...
hi VanDerLee , thanks for the explanation, this makes more sense now. However I like to mix different data size in a buffer... I guess I can keep the...
Hi Mehdi, From what I understood from an old reply (message #8404) from Alex (see below) FM understands both data types: float as well as double but they are...
Hi, - What is the fsin supposed to have for an input and output range? - And is the following line supposed to be able to deal with doubles? setCtlTextv(4,...
Roberto, float dSlider, dSlider=0.001*ctl(2); is a repeated declaration use float dSlider=0.001*ctl(2); I suggest you quit using floats and use doubles...