Current property migrates to App. And the CoreDispatcher. RunAsync method migrates to DispatcherQueue. You may need to refactor your Visual State Manager and Page. Resources XAML markup. This section applies if you're using the Windows. Current property in your UWP app. Then, within the App class itself, you can change Window. Current to simply window. Outside of the App class, change Window.
Current to App. Window , like this:. In your UWP app, if you use certain types from the Windows. Popups or Windows. Learn more. Asked 3 years, 7 months ago. Active 3 years, 6 months ago. Viewed times. Improve this question. Remy Lebeau k 29 29 gold badges silver badges bronze badges. Dan Moos Dan Moos 23 4 4 bronze badges. The book you're reading should explain it. Perhaps if you knew the right term for it, it would be easier to find? The correct term is constructor initializer list. Ok, I found the relevant portion of the book.
That seems to have given me clarity. You're right, my lack of the term I needed to search was my main difficulty. Tell me if I have this right. An expression that returns one of the objects in the Applies To list. You can use this property in VBA code when making calls to Windows application programming interface API functions or other external routines that require the hWnd property as an argument.
Many Windows functions require the hWnd property value of the current window as one of the arguments. Because the value of this property can change while a program is running, don't store the hWnd property value in a public variable. Need more help? Expand your skills. After that it's just a communication issue. If you must, put the main window's HWND in a global variable. If you just have a stand-alone application, it should be much simpler than this, as I suggested in my previous post.
Ask a question. Quick access. Search related threads. Remove From My Forums.
0コメント