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

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -