Resolved the ACTCTX_FLAG_SET_PROCESS_DEFAULT TODO by deciding to enable this flag for maximum safety. Also added more future plans.
This commit is contained in:
parent
fb7e638d69
commit
c3a87ab713
|
@ -55,7 +55,8 @@ func forceCommonControls6() (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
actctx.cbSize = uint32(unsafe.Sizeof(actctx))
|
actctx.cbSize = uint32(unsafe.Sizeof(actctx))
|
||||||
// TODO set ACTCTX_FLAG_SET_PROCESS_DEFAULT? I can't find a reference to figure out what this means
|
// make this context the process default, just to be safe
|
||||||
|
actctx.dwFlags = _ACTCTX_FLAG_SET_PROCESS_DEFAULT
|
||||||
actctx.lpSource = toUTF16(filename)
|
actctx.lpSource = toUTF16(filename)
|
||||||
|
|
||||||
r1, _, err := _createActCtx.Call(uintptr(unsafe.Pointer(&actctx)))
|
r1, _, err := _createActCtx.Call(uintptr(unsafe.Pointer(&actctx)))
|
||||||
|
|
|
@ -35,6 +35,7 @@ general list:
|
||||||
- provide automated About, Preferneces, and Quit that place these in the correct location
|
- provide automated About, Preferneces, and Quit that place these in the correct location
|
||||||
- Quit should pulse AppQuit
|
- Quit should pulse AppQuit
|
||||||
- will probably want to bring back Event() as NewEvent() should that facility be necesary for menus, etc.
|
- will probably want to bring back Event() as NewEvent() should that facility be necesary for menus, etc.
|
||||||
|
- figure out why at least the 64-bit build hates being run under Application Verifier
|
||||||
|
|
||||||
issues of policy:
|
issues of policy:
|
||||||
- LineEdit heights on Windows seem too big; either that or LineEdit, Button, and Label text is not vertically centered properly
|
- LineEdit heights on Windows seem too big; either that or LineEdit, Button, and Label text is not vertically centered properly
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
// autogenerated by windowsconstgen; do not edit
|
// autogenerated by windowsconstgen; do not edit
|
||||||
package ui
|
package ui
|
||||||
|
const _ACTCTX_FLAG_SET_PROCESS_DEFAULT = 16
|
||||||
const _AC_SRC_ALPHA = 1
|
const _AC_SRC_ALPHA = 1
|
||||||
const _AC_SRC_OVER = 0
|
const _AC_SRC_OVER = 0
|
||||||
const _BCM_GETIDEALSIZE = 5633
|
const _BCM_GETIDEALSIZE = 5633
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
// autogenerated by windowsconstgen; do not edit
|
// autogenerated by windowsconstgen; do not edit
|
||||||
package ui
|
package ui
|
||||||
|
const _ACTCTX_FLAG_SET_PROCESS_DEFAULT = 16
|
||||||
const _AC_SRC_ALPHA = 1
|
const _AC_SRC_ALPHA = 1
|
||||||
const _AC_SRC_OVER = 0
|
const _AC_SRC_OVER = 0
|
||||||
const _BCM_GETIDEALSIZE = 5633
|
const _BCM_GETIDEALSIZE = 5633
|
||||||
|
|
Loading…
Reference in New Issue