Search found 178 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 18
by nikobarli
16 Jul 2019, 09:04
Forum: General Discussion
Replies: 6
Views: 1252

Re: Weird focusing on TabControl

by nikobarli
11 Jul 2019, 02:09
Forum: General Discussion
Replies: 11
Views: 1448

Re: How to Activate/Deactivate Noesis View if the hosting window is a child window

Suppose the next WM_MOUSEACTIVATE-ed window is not a Noesis window (or a window that is not in our control), then there is no chance to deactivate the currently active Noesis View. At least I observed the following problems: 1. The blinking cursor inside a texbox is not disabled when the active wind...
by nikobarli
10 Jul 2019, 07:24
Forum: General Discussion
Replies: 6
Views: 1252

Re: Weird focusing on TabControl

Hi, I just verified this bug. It seems to fixed the behavior when I enter Tab repeatedly. The focus is go back and forth between the Tab header and the content TextBox. But, when I enter Shift-Tab repeatedly, the behavior is different. Once the focus on the Tab header, the focus stays there forever....
by nikobarli
10 Jul 2019, 03:59
Forum: General Discussion
Replies: 11
Views: 1448

Re: How to Activate/Deactivate Noesis View if the hosting window is a child window

I started to investigate this but I have a question, is the child window like a borderless popup or are you interested in a MDI scenario with child document windows? The child window is a window created with WS_CHILD style. We are mixing other contents with Noesis. The top-level window is an MFC wi...
by nikobarli
04 Jul 2019, 09:33
Forum: General Discussion
Replies: 11
Views: 1448

How to Activate/Deactivate Noesis View if the hosting window is a child window

Hi, Inside Win32Display.cpp, the code to activate/deactivate Noesis' View is by hooking into WM_ACTIVATE message. However, this message is not sent if the window is a child window (not Top-level window). case WM_ACTIVATE: { switch (LOWORD(wParam)) { case WA_INACTIVE: { mDeactivated(this); TSF::Deact...
by nikobarli
13 Jun 2019, 10:07
Forum: General Discussion
Replies: 3
Views: 546

VM instance bound to a UI element is not destroyed even after the bind target is nulled.

So we have a code like this xaml <Grid> <ContentControl Content="{Binding CurrentItem}" /> </Grid> C++ class ItemVM : public BaseComponent, public INotifyPropertyChanged { ... } class BindingCollectionVM : public BaseComponent, public INotifyPropertyChanged { public: Ptr<ItemVM> m_item = MakePtr<Ite...
by nikobarli
27 Mar 2019, 06:30
Forum: General Discussion
Replies: 3
Views: 595

Re: ContextMenu and Tooltip stays unclosed even when the window is deactivated

Thanks. I filed the issue here: https://www.noesisengine.com/bugs/view.php?id=1438

Yes, the workaround is working as far as I can tell (I am sending LButtonDown at -1,-1).
But, isn't it dangerous to send fake mouse event, because it may interfere with the real events ?
by nikobarli
25 Mar 2019, 09:46
Forum: General Discussion
Replies: 3
Views: 595

ContextMenu and Tooltip stays unclosed even when the window is deactivated

Hi,

When we show ContextMenu or Tooltip, and we click other window (thus deactivating the current Noesis window), the ContextMenu or Tooltip stays afloat (not closed).

Is there any way to fix this behavior ?

thanks.
by nikobarli
18 Mar 2019, 08:45
Forum: General Discussion
Replies: 7
Views: 733

Re: [c++]How do you draw a line on a canvas in Noesis that is 1 pixel thick

Hi, I think the problem is with the anti-aliasing. Our integration layer (which is also used by tkawa) is using MSAA (PPAA is disabled) for anti-aliasing and it caused the problem that thin lines appear to be blurred. Disabling MSAA fixed the problem, but at the cost of anti-aliasing in other parts....
  • 1
  • 2
  • 3
  • 4
  • 5
  • 18