Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Ctrl creation via dll stuff
Re: Ctrl creation via dll stuff [message #49738 is a reply to message #49426] |
Sun, 15 April 2018 11:57 |
luoganda
Messages: 197 Registered: November 2016
|
Experienced Member |
|
|
Quote:I guess I do not fully undestand the question, but in general: If you want to get relative position of two (possibly) unrelated Ctrls, the easiest way is to use GetScreenView (or GetScreenRect if you want 'outer' dimensions) and compute it from these.
Yes, this is what i was asking.
DHCtrl in TabCtrl works as expected - like other controls, BUT,
zorder does not - this is when one want's to have another usual Ctrl somewhere
intersecting that DHCtrl in TabCtrl and above it, that is when DHCtrl is below it.
DHCtrl below is somehow shown - incorectly - more or less painting problems.
By the way, adding ScrollBars to Ctrl created wia dll does not work, this error is when AddFrame is called,
this was the same error message when i wanted to allocate memory in exe but then release
it in dll or vice versa, breakpoint with heap corruption.
Can for example, String(or any other) core class be used globally through exe/dll?
Or must they use some kind of allocator where class is - allocation/deallocation in exe/dll separatelly?
Exact error message was: Heap is corrupted --memory-breakpoint__61843922
|
|
|
Goto Forum:
Current Time: Fri May 10 11:26:06 CEST 2024
Total time taken to generate the page: 0.02166 seconds
|