Skip to main content

Featured

Build docker image from multiple build contexts

Build docker image from multiple build contexts Building a docker image requires specifying a source of truth to include in the image from a local directory or a remote git repository. In the previous version, the docker BuildKit allows users to specify the build context from a single source of truth only. However, the engineers may need to have the context from different locations based on the type of files. For instance, icons, images or other resources that are not included in the same package, including the resource from other docker images. Fortunately, the Docker Buildx toolkit supports multiple build context flag for Docker 1.4. Let's learn how to use this new feature. The following list is a shortcut for jumping into a specific topic handy. What version of Docker is this tutorial targeting? How to specify the version of Dockerfile frontend? Ho

變更滑鼠指標圖示

在網路上找了很多改變滑鼠指標圖示資料,但目前測試只有這個有成功,至於目前有沒有什麼後遺症,我也不曉得XDDD
 HCURSOR hcur = ::LoadCursor(0, IDC_ARROW);  
::SetClassLong(this->m_hWnd, GCL_HCURSOR, (LONG)hcur);  


來源:http://kevincg.wordpress.com/category/vccc/page/2/

2010/12/28 - 補充
出現問題:在第一個Dialog使用後,如不設回預設的滑鼠指標圖示,當彈出的第二個Dialog上面也有相同物件出現時,則當滑鼠移到第二個Dialog的物件上時,也會顯示原先設定的滑鼠指標圖示。

所以要切換dialog的話,還是把滑鼠指標設回原本設定,比較不會有顯示問題。

問題點我想應該是SetClassLong()所造成的。

Comments

Popular Posts