Click here to Skip to main content
15,890,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I display Japanese characters in an application ? Pin
Swap930-Jul-14 23:12
Swap930-Jul-14 23:12 
QuestionRe: How can I display Japanese characters in an application ? Pin
Richard MacCutchan30-Jul-14 23:42
mveRichard MacCutchan30-Jul-14 23:42 
AnswerRe: How can I display Japanese characters in an application ? Pin
Swap930-Jul-14 23:53
Swap930-Jul-14 23:53 
QuestionImport CSV to Access DB. Pin
Member 1093049930-Jul-14 8:25
Member 1093049930-Jul-14 8:25 
AnswerRe: Import CSV to Access DB. Pin
Richard MacCutchan30-Jul-14 20:31
mveRichard MacCutchan30-Jul-14 20:31 
QuestionHow to consume web service in C++ using REST SDK.? Pin
mbatra3130-Jul-14 4:34
mbatra3130-Jul-14 4:34 
AnswerRe: How to consume web service in C++ using REST SDK.? Pin
Richard MacCutchan30-Jul-14 5:01
mveRichard MacCutchan30-Jul-14 5:01 
Questiontreeview ctrl rmb menu question Pin
bobfresh30-Jul-14 0:09
bobfresh30-Jul-14 0:09 
I have recently written a 'project browser' ctrl for my hobby ide BUT when i right click on an item to 'select item and show menu' even though the carat is on the new item the control reports the active TREEVIEWITEM is the previously selected item and the menu acts on the prev selected item.
With listboxes its easy you just subclass the ctrl and simulate "press lmb down and lmb up" when rmb is pressed but this method doesnt work at all with treeviews.

How do i select a item with the rmb?

Ps. you can be technical with your responce, im v.familiar w/ winapi.
Smile | :) thx bob
Sorry guys lol. Just solved it. You use the TVM_HITTEST to get the current item under the mouse cursor then call TVM_SELECTITEM w/ that item.
Then call trackpopupmenu as normal.
4 hours wasted last night on that one... still happy ending. Wink | ;)

modified 30-Jul-14 6:30am.

QuestionRe: treeview ctrl rmb menu question Pin
Richard MacCutchan30-Jul-14 0:37
mveRichard MacCutchan30-Jul-14 0:37 
Questioncan anyone help how to find summation of float number? Pin
mybm129-Jul-14 20:33
mybm129-Jul-14 20:33 
AnswerRe: can anyone help how to find summation of float number? Pin
Richard MacCutchan29-Jul-14 20:54
mveRichard MacCutchan29-Jul-14 20:54 
GeneralRe: can anyone help how to find summation of float number? Pin
mybm129-Jul-14 21:05
mybm129-Jul-14 21:05 
GeneralRe: can anyone help how to find summation of float number? Pin
Richard MacCutchan29-Jul-14 22:18
mveRichard MacCutchan29-Jul-14 22:18 
GeneralRe: can anyone help how to find summation of float number? Pin
mybm129-Jul-14 23:42
mybm129-Jul-14 23:42 
GeneralRe: can anyone help how to find summation of float number? Pin
Richard MacCutchan30-Jul-14 0:11
mveRichard MacCutchan30-Jul-14 0:11 
GeneralRe: can anyone help how to find summation of float number? Pin
mybm130-Jul-14 0:40
mybm130-Jul-14 0:40 
QuestionRe: can anyone help how to find summation of float number? Pin
Richard MacCutchan30-Jul-14 0:55
mveRichard MacCutchan30-Jul-14 0:55 
AnswerRe: can anyone help how to find summation of float number? Pin
mybm130-Jul-14 1:04
mybm130-Jul-14 1:04 
AnswerRe: can anyone help how to find summation of float number? Pin
mybm130-Jul-14 1:07
mybm130-Jul-14 1:07 
GeneralRe: can anyone help how to find summation of float number? Pin
Richard MacCutchan30-Jul-14 2:22
mveRichard MacCutchan30-Jul-14 2:22 
GeneralRe: can anyone help how to find summation of float number? Pin
mybm130-Jul-14 2:37
mybm130-Jul-14 2:37 
QuestionRe: can anyone help how to find summation of float number? Pin
CPallini29-Jul-14 21:32
mveCPallini29-Jul-14 21:32 
AnswerRe: can anyone help how to find summation of float number? Pin
mybm129-Jul-14 23:46
mybm129-Jul-14 23:46 
GeneralRe: can anyone help how to find summation of float number? Pin
CPallini30-Jul-14 1:09
mveCPallini30-Jul-14 1:09 
AnswerRe: can anyone help how to find summation of float number? Pin
enhzflep30-Jul-14 0:13
enhzflep30-Jul-14 0:13 

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.