c++ - Placing window after TaskManager window fails with ERROR_ACCESS_DENIED -


i'm trying place window after taskmanager window , fails error_access_denied:

if (setwindowpos(mywindowhndl, taskmanagerhndl, left, top, right - left, bottom - top, swp_noactivate | flags)) {     log_error("setwindowpos() succeedded"); } else {     log_high("setwindowpos() failed: " << getlasterror()); }  

is there special taskmanager window , possible overcome this? thanks.

not task manager, feature introduced vista known uipi (user interface privilege isolation). here more information.

try running application elevated. see if works then. if problem.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -