Click here to Skip to main content
15,908,834 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ToolBar question! Pin
Shog926-May-05 13:43
sitebuilderShog926-May-05 13:43 
GeneralRe: ToolBar question! Pin
goiania26-May-05 14:00
goiania26-May-05 14:00 
Questioncontext menu on form without titlebar? Pin
FreewareFire26-May-05 12:02
FreewareFire26-May-05 12:02 
AnswerRe: context menu on form without titlebar? Pin
FreewareFire27-May-05 10:33
FreewareFire27-May-05 10:33 
Generalsetting different time zone Pin
pnpfriend26-May-05 11:26
pnpfriend26-May-05 11:26 
GeneralRe: setting different time zone Pin
geo_m26-May-05 18:29
geo_m26-May-05 18:29 
GeneralRe: setting different time zone Pin
pnpfriend27-May-05 4:16
pnpfriend27-May-05 4:16 
GeneralRe: setting different time zone Pin
geo_m29-May-05 19:29
geo_m29-May-05 19:29 
Hi, changing the global setting like the computer's current time zone is a bad thing, because it can affect other programs and lead to some even serious problems. Problem is that the timezone is a setting for all programs running under the user profile - if some program relies on the time, it can be wrong in that time (especially if it doesn't handle correctly change of the timezone in runtime)

If you know the correct time offsets, you can use the COleDateTimeSpan, it should work - but you have to convert it twice as the GMT+/- offsets are relative to the GMT - so if you have e-mail from Japan (+9) you have to subtract 9 from the time and you'll get the GMT. Then you have to add offset of your timezone (or use any function that returns local time from the UTC/GMT time) to get the local time.
GeneralUsing custom buttons in a CToolbar Pin
mckavity26-May-05 10:12
mckavity26-May-05 10:12 
GeneralRe: Using custom buttons in a CToolbar Pin
mckavity26-May-05 10:15
mckavity26-May-05 10:15 
GeneralRe: Using custom buttons in a CToolbar Pin
Shog926-May-05 12:16
sitebuilderShog926-May-05 12:16 
GeneralRe: Using custom buttons in a CToolbar Pin
mckavity27-May-05 3:35
mckavity27-May-05 3:35 
GeneralWM_SETTEXT Desperate Issue Pin
Axonn Echysttas26-May-05 9:50
Axonn Echysttas26-May-05 9:50 
GeneralRe: WM_SETTEXT Desperate Issue Pin
David Crow26-May-05 10:06
David Crow26-May-05 10:06 
GeneralRe: WM_SETTEXT Desperate Issue Pin
Axonn Echysttas26-May-05 10:50
Axonn Echysttas26-May-05 10:50 
GeneralRe: WM_SETTEXT Desperate Issue Pin
Ryan Binns26-May-05 18:41
Ryan Binns26-May-05 18:41 
GeneralRe: WM_SETTEXT Desperate Issue Pin
Axonn Echysttas26-May-05 21:40
Axonn Echysttas26-May-05 21:40 
Generalcreate a text wallpaper Pin
jet91526-May-05 9:37
jet91526-May-05 9:37 
GeneralRe: create a text wallpaper Pin
David Crow26-May-05 9:42
David Crow26-May-05 9:42 
GeneralRe: create a text wallpaper Pin
jet91526-May-05 10:34
jet91526-May-05 10:34 
GeneralRe: create a text wallpaper Pin
David Crow27-May-05 2:13
David Crow27-May-05 2:13 
GeneralTake de real part from a decimal number Pin
alvarillo26-May-05 9:20
alvarillo26-May-05 9:20 
GeneralRe: Take de real part from a decimal number Pin
Jack Puppy26-May-05 9:33
Jack Puppy26-May-05 9:33 
GeneralRe: Take de real part from a decimal number Pin
David Crow26-May-05 9:34
David Crow26-May-05 9:34 
GeneralRe: Take de real part from a decimal number Pin
knapak26-May-05 13:45
knapak26-May-05 13:45 

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.