Click here to Skip to main content
15,921,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhotkeys on a dialog Pin
Qadddd20-Feb-03 5:24
Qadddd20-Feb-03 5:24 
GeneralRe: hotkeys on a dialog Pin
Iain Clarke, Warrior Programmer20-Feb-03 6:14
Iain Clarke, Warrior Programmer20-Feb-03 6:14 
GeneralRe: hotkeys on a dialog Pin
Qadddd24-Feb-03 4:34
Qadddd24-Feb-03 4:34 
GeneralRe: hotkeys on a dialog Pin
Qadddd24-Feb-03 6:55
Qadddd24-Feb-03 6:55 
GeneralRe: hotkeys on a dialog Pin
Iain Clarke, Warrior Programmer25-Feb-03 0:41
Iain Clarke, Warrior Programmer25-Feb-03 0:41 
GeneralRe: hotkeys on a dialog Pin
Qadddd26-Feb-03 23:20
Qadddd26-Feb-03 23:20 
GeneralPort forwarding Pin
User 988520-Feb-03 4:59
User 988520-Feb-03 4:59 
GeneralRe: Port forwarding Pin
User 988520-Feb-03 5:10
User 988520-Feb-03 5:10 
GeneralRe: Port forwarding Pin
Anonymous20-Feb-03 10:01
Anonymous20-Feb-03 10:01 
GeneralRe: Port forwarding Pin
User 988520-Feb-03 10:12
User 988520-Feb-03 10:12 
GeneralRe: Port forwarding Pin
User 988520-Feb-03 10:13
User 988520-Feb-03 10:13 
GeneralSlider control Pin
jimNLX20-Feb-03 4:35
jimNLX20-Feb-03 4:35 
GeneralRe: Slider control Pin
valikac20-Feb-03 7:32
valikac20-Feb-03 7:32 
GeneralDeriving MFC Class for DLL, instantiating in Visual Basic Pin
DigitalSabre20-Feb-03 4:31
DigitalSabre20-Feb-03 4:31 
GeneralRe: Deriving MFC Class for DLL, instantiating in Visual Basic Pin
Anna-Jayne Metcalfe20-Feb-03 4:53
Anna-Jayne Metcalfe20-Feb-03 4:53 
Generalget keyboard events Pin
Willem B20-Feb-03 4:21
Willem B20-Feb-03 4:21 
GeneralRe: get keyboard events Pin
Michael Shuster20-Feb-03 4:50
Michael Shuster20-Feb-03 4:50 
GeneralRe: get keyboard events Pin
HENDRIK R20-Feb-03 4:52
HENDRIK R20-Feb-03 4:52 
GeneralRe: get keyboard events Pin
Willem B20-Feb-03 21:11
Willem B20-Feb-03 21:11 
GeneralGetting focus for modeless dialogs in a controlbar. Pin
Maximilien20-Feb-03 4:17
Maximilien20-Feb-03 4:17 
GeneralProb converting Hex to CString Pin
afender20-Feb-03 4:14
afender20-Feb-03 4:14 
GeneralRe: Prob converting Hex to CString Pin
Ryan_Roberts20-Feb-03 4:26
Ryan_Roberts20-Feb-03 4:26 
GeneralRe: Prob converting Hex to CString Pin
afender20-Feb-03 5:26
afender20-Feb-03 5:26 
GeneralRe: Prob converting Hex to CString Pin
David Chamberlain20-Feb-03 6:05
David Chamberlain20-Feb-03 6:05 
afender wrote:
sBuffer[2] = "\xE8";

I've had problems like this before, too. It appears that your literal string is actually 4 characters long: slash, x, E, and 8.

Using the format string "0x%02x" will give you a two-character field with an automatic leading zero, if the source value ends up having only one char.

This DOES work, so if your's doesn't, there there is something else wrong.

Dave

"You can say that again." -- Dept. of Redundancy Dept.
GeneralRe: Prob converting Hex to CString Pin
Ted Ferenc20-Feb-03 6:16
Ted Ferenc20-Feb-03 6:16 

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.