I got this to work somewhat using an NSBox now, it everything draws and 
performs fine. The only issue I having is the NSBox is not changing the line 
style from the default. I tried to change it to NSLineBorder = 1 and while it 
compiles fine it does not actually change the style. Would never thought adding 
an border around another view would be this difficult, this should be so 
simple, lol.

Well Thanks for the help, I thinking I just drop the whole boarder idea, and 
let it float on window without one.

Thanks for help.

Obleo Beck


On Apr 14, 2013, at 9:40 AM, Obleo Beck <[email protected]> wrote:

> I had tried an whole ton of different things. I cant recall them all because 
> I since deleted it from my project, over frustration that I was barking up 
> the wrong tree. 
> 
> I set all the QL Preview stuff that works fine, its when I tried adding an 
> border within the same rect, where I run into issues. I just want an simple 
> box around that rect. I always set  the auto resize for everything I make. I 
> could have missed other properties, there so many items not always listed 
> within the same area so it hard to tell what one work with what.
> 
> For the NSView I added the CocoaControlMBS and tried to draw it. Not 
> interested in an background color. just an line boarder around its rect. 
> However that gave me an compile error. so I am pretty sure I doing something 
> wrong there or it just does not work the way I thinking it does.
> 
> cheers,
> 
> Obleo beck
> 
> 
> On Apr 14, 2013, at 8:47 AM, Christian Schmitz 
> <[email protected]> wrote:
> 
>> 
>> Am 14.04.2013 um 15:31 schrieb Obleo Beck <[email protected]>:
>> 
>>> I have tried that, however I notice that when I do that there an 
>>> performance issue when I resize the window, once the QL preview active. 
>>> Like resize the window is very sticky. It seems that like that area on 
>>> screen where the QLPreviewViewMBS is at if anything else is within that 
>>> same rect when resizing the window is when I get the performance downgrade. 
>>>> 
>> 
>> 
>> 
>> did you just draw or put a nsview there with background color?
>> you have to set autoresizingmask and probably some other properties, too.
>> 
>> Greetings
>> Christian
>> 
>> -- 
>> Read our blog about news on our plugins:
>> 
>> http://www.mbsplugins.de/
>> 
>> _______________________________________________
>> Mbsplugins_monkeybreadsoftware.info mailing list
>> [email protected]
>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to