Waitrud Weber’s blog

things and reminders for memories

3d: windows-make: Using wCanvasContoroller.

When we use class wCanvasController, we might use the cursor interface very smooth because it is still allocated on the memories in C++.
That is on 2 on the below.

windows-thread function calls,

1. The function in C.

2. The member function of the instance on the memories after windows-thread finishes and next.

f:id:Waitrud_Weber:20210901234429p:plain

using canvas

Press "TAB" and "Arrow LEFT UP DOWN RIGHT" and Flashing window is prevented because we use the "WS_EX_COMPOSITED" on the function of CreateWindowEx first parameter{1].

    hWnd = CreateWindowEx( WS_EX_COMPOSITED, ...

download: 

https://github.com/WaitrudWeber/source_zip/blob/master/display-20210901.zip

 

[1] http://shopping2.gmobb.jp/htdmnr/www08/windows/tips/doublebuffering01.html