[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

EditLabel on CListCtrl

Posted on 2001-08-20
9
Medium Priority
?
832 Views
Last Modified: 2013-11-20
I have a windows explorer kind of application.

When i try to rename a read-only file by editing the label and then click on the other part of listctrl, a confirmation box is displayed.

Clicking yes button closes the dialog but my mouse cursor is locked. How could i remove it?
0
Comment
Question by:polgas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 42

Expert Comment

by:Meir Rivkin
ID: 6405650
try EndWaitCursor();
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 6405693
Is it your own confirmation box?  Locked in what way?  Do you plan to insult me by giving me a C if I answer your question?

-- Dan
0
 

Author Comment

by:polgas
ID: 6405737
for dan: NO..serious this time dude
0
Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

 

Author Comment

by:polgas
ID: 6405760
clarification: the confirmation box is similar with the one displayed in windows explorer "Are you sure you..." The mouse is locked the same way as in you press down left mouse button and drag to other location within the list control. there is this square image that allows multiple selection using mouse cursor.
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 6405899
repeating Dan's Question: is this your own message box?
0
 

Author Comment

by:polgas
ID: 6405904
yes
0
 
LVL 7

Accepted Solution

by:
peterchen092700 earned 800 total points
ID: 6405982
*g* I almost was afraid of that answer...

put a breakpoint on where the message box is opened, look at the call stack window where the call comes from.

When you click "elsewhere", you get an TVN_ENDLABELEDIT message as well, but the pszText member of the TVITEM structure is NULL (indicating a cancel). I guess your problem is there...


Peter
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 6408525
...so it could be a good idea to post your TVN_ENDLABELEDIT handler's code...
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 6408526
...so it could be a good idea to post your TVN_ENDLABELEDIT handler's code...
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question