Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEdit carriage returns Pin
David Crow14-Jul-03 8:15
David Crow14-Jul-03 8:15 
GeneralRe: CEdit carriage returns Pin
scontapay14-Jul-03 9:38
scontapay14-Jul-03 9:38 
GeneralList box question Pin
Shay Harel14-Jul-03 5:56
Shay Harel14-Jul-03 5:56 
Generalmemory leaks Pin
si_6914-Jul-03 5:50
si_6914-Jul-03 5:50 
GeneralRe: memory leaks Pin
John R. Shaw14-Jul-03 7:27
John R. Shaw14-Jul-03 7:27 
GeneralRe: memory leaks Pin
Anthony_Yio15-Jul-03 0:58
Anthony_Yio15-Jul-03 0:58 
GeneralChange windows process priority Pin
nitropit14-Jul-03 5:35
nitropit14-Jul-03 5:35 
GeneralRe: Change windows process priority Pin
Dominik Reichl14-Jul-03 6:12
Dominik Reichl14-Jul-03 6:12 
Find the handle of the process and use the Windows API function(s) SetPriorityClass and SetThreadPriority.

BOOL SetPriorityClass(
  HANDLE hProcess,        // handle to the process
  DWORD dwPriorityClass   // priority class value
);

BOOL SetThreadPriority(
  HANDLE hThread, // handle to the thread
  int nPriority   // thread priority level
);
For the parameters, see MSDN.

Big Grin | :-D
-Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)

GeneralRe: Change windows process priority Pin
nitropit14-Jul-03 8:04
nitropit14-Jul-03 8:04 
GeneralRe: Change windows process priority Pin
Mike Nordell14-Jul-03 9:26
Mike Nordell14-Jul-03 9:26 
GeneralSDI Main Window Pin
ppathan14-Jul-03 5:20
ppathan14-Jul-03 5:20 
GeneralRe: SDI Main Window Pin
Shay Harel14-Jul-03 5:53
Shay Harel14-Jul-03 5:53 
GeneralRe: SDI Main Window Pin
ppathan14-Jul-03 7:31
ppathan14-Jul-03 7:31 
GeneralRe: SDI Main Window Pin
Shay Harel14-Jul-03 7:36
Shay Harel14-Jul-03 7:36 
GeneralRe: SDI Main Window Pin
David Crow14-Jul-03 7:57
David Crow14-Jul-03 7:57 
GeneralRe: SDI Main Window Pin
Shay Harel14-Jul-03 8:04
Shay Harel14-Jul-03 8:04 
Generaltypedef rants and uses ... Pin
Maximilien14-Jul-03 5:10
Maximilien14-Jul-03 5:10 
GeneralRe: typedef rants and uses ... Pin
jhwurmbach14-Jul-03 5:29
jhwurmbach14-Jul-03 5:29 
GeneralWH_MOUSE_LL Pin
Gleb14-Jul-03 4:30
Gleb14-Jul-03 4:30 
GeneralRe: WH_MOUSE_LL Pin
Duncan Edwards Jones14-Jul-03 4:35
professionalDuncan Edwards Jones14-Jul-03 4:35 
GeneralRe: WH_MOUSE_LL Pin
Gleb14-Jul-03 20:34
Gleb14-Jul-03 20:34 
GeneralRe: WH_MOUSE_LL Pin
Ryan Binns14-Jul-03 4:44
Ryan Binns14-Jul-03 4:44 
GeneralRe: WH_MOUSE_LL Pin
Gleb14-Jul-03 20:33
Gleb14-Jul-03 20:33 
GeneralRe: WH_MOUSE_LL Pin
Ryan Binns14-Jul-03 22:18
Ryan Binns14-Jul-03 22:18 
GeneralBoot program, partition access Pin
Kuniva14-Jul-03 4:19
Kuniva14-Jul-03 4:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.