Search found 180 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 18
by nikobarli
19 Jul 2019, 03:12
Forum: General Discussion
Replies: 11
Views: 2931

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

In my tests I wasn't receiving WM_SETFOCUS on child windows, so I didn't consider that handling focus could be an option for your problem. In my integration code, I am calling SetFocus on any WM_{L,R,M}BUTTONDOWN inside the Noesis host window. I think that's why I am receiving WM_SETFOCUS on my chi...
by nikobarli
16 Jul 2019, 09:17
Forum: General Discussion
Replies: 11
Views: 2931

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

I can't find in Win32 other way to handle activation/focus of child windows than tracking the active child window from the application code using WM_MOUSEACTIVATE. But not only for Noesis windows, you should track WM_MOUSEACTIVATE for all application windows (top-level included). Is that something ...
by nikobarli
16 Jul 2019, 09:04
Forum: General Discussion
Replies: 6
Views: 1929

Re: Weird focusing on TabControl

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

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: 1929

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: 2931

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: 2931

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: 1162

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 = M...
by nikobarli
27 Mar 2019, 06:30
Forum: General Discussion
Replies: 3
Views: 1217

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 ?
  • 1
  • 2
  • 3
  • 4
  • 5
  • 18