Click here to Skip to main content
15,913,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC custom control - custom message offset? Pin
Michael Dunn23-Oct-03 19:06
sitebuilderMichael Dunn23-Oct-03 19:06 
Generalsimple registry questions :) Pin
joshfl23-Oct-03 16:44
joshfl23-Oct-03 16:44 
GeneralRe: simple registry questions :) Pin
David Crow23-Oct-03 16:51
David Crow23-Oct-03 16:51 
GeneralRe: simple registry questions :) Pin
joshfl24-Oct-03 3:14
joshfl24-Oct-03 3:14 
GeneralRe: simple registry questions :) Pin
John M. Drescher23-Oct-03 17:55
John M. Drescher23-Oct-03 17:55 
GeneralRe: simple registry questions :) Pin
joshfl24-Oct-03 3:18
joshfl24-Oct-03 3:18 
GeneralRe: simple registry questions :) Pin
John M. Drescher24-Oct-03 4:09
John M. Drescher24-Oct-03 4:09 
GeneralRe: simple registry questions :) Pin
joshfl24-Oct-03 6:19
joshfl24-Oct-03 6:19 
i browsed through it , i probably shouldve read better, i thought I could just specify a subkey to delete with an initialized key handle, but i see its not that easy Smile | :)

HKEY hKey;
LONG lnRes = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", 0L,
KEY_ALL_ACCESS,
&hKey
);

LPCTSTR keyname = "xlaunch";
RegDeleteKey(hKey, keyname);
RegCloseKey(hKey);

xlaunch is my subkey, that i created beforehand in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

??
i may not even have the concepts right than, but i thought the hKey was the main key, xlaunch would be my subkey that hold the data.. ?
this is my first attempt at windows registry manipulation Smile | :)

todo....
:: insert inspirational text here ::
GeneralRe: simple registry questions :) Pin
John M. Drescher24-Oct-03 9:12
John M. Drescher24-Oct-03 9:12 
Questionfind start and end of string? Pin
alex.barylski23-Oct-03 16:29
alex.barylski23-Oct-03 16:29 
AnswerRe: find start and end of string? Pin
David Crow23-Oct-03 16:47
David Crow23-Oct-03 16:47 
GeneralRe: find start and end of string? Pin
alex.barylski23-Oct-03 17:04
alex.barylski23-Oct-03 17:04 
GeneralRe: find start and end of string? Pin
Johnny ²23-Oct-03 23:20
Johnny ²23-Oct-03 23:20 
GeneralRe: find start and end of string? Pin
David Crow24-Oct-03 3:32
David Crow24-Oct-03 3:32 
Generalhelp:about regex.hpp Pin
xiaoxsql23-Oct-03 15:17
xiaoxsql23-Oct-03 15:17 
GeneralRe: help:about regex.hpp Pin
Andrew Walker23-Oct-03 21:42
Andrew Walker23-Oct-03 21:42 
GeneralRe: help:about regex.hpp Pin
xiaoxsql26-Oct-03 15:18
xiaoxsql26-Oct-03 15:18 
GeneralRelease woes Pin
Jim Crafton23-Oct-03 15:09
Jim Crafton23-Oct-03 15:09 
GeneralRe: Release woes Pin
Iain Clarke, Warrior Programmer24-Oct-03 4:23
Iain Clarke, Warrior Programmer24-Oct-03 4:23 
GeneralWinMain as a member function Pin
super_matt23-Oct-03 14:41
super_matt23-Oct-03 14:41 
GeneralRe: WinMain as a member function Pin
David Crow23-Oct-03 16:55
David Crow23-Oct-03 16:55 
GeneralRe: WinMain as a member function Pin
Iain Clarke, Warrior Programmer24-Oct-03 4:18
Iain Clarke, Warrior Programmer24-Oct-03 4:18 
GeneralRe: WinMain as a member function Pin
Alexander M.,24-Oct-03 10:00
Alexander M.,24-Oct-03 10:00 
GeneralDWORD registry values... Pin
halblonious23-Oct-03 14:07
halblonious23-Oct-03 14:07 
GeneralRe: DWORD registry values... Pin
David Crow23-Oct-03 16:59
David Crow23-Oct-03 16:59 

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.