|
|
i use CreateWindowsEx to create a listbox and make its single item selected by code, i don't want the user to change the selected item index. i tried EnableWindow to disable the listbox window but it disabled the scrollbar of the listbox as well. What API should i use to make the listbox viewable only? which message should i process to prevent users from selecting another item in the listbox? (API solution only!)
|
|
|
|
|
|
hello guys,
i want to load image(any format,but i think jpg/bmp format)from file to picture control(picture box).i will make it when the program runs/execute. So, i want to put the code in function ON INIT DIALOG.But i don't know how. Can anyone help me???
|
|
|
|
|
Put your load image code in InitDialog (LoadBitmap, LoadImage etc) but process drawing in OnPaint (BitBlt, ..strecht...etc).
|
|
|
|
|
aaaah.....check in CP itself....ther r numerous articles based on thiz....
try this link for eg:
http://www.codeproject.com/bitmap/bmpscroll.asp[^]
Hope that helpz.....
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
Hi, i need make a link between Visual C++ and Prolog, i need make a game
so i hope that some can i help me.
thanks..
|
|
|
|
|
Well I'm doing some mysql connections for a database project I'm working on. The documentation says it requires VC++ 7.1 The version I'm running appears to be a 7.0.2. Now I've only been back in the Visual C++ world for about... 2 weeks. Is the Studio 2005 supose to be 7.1?
Thanks for any info.
--
David Coley
http://www.codecipher.com
|
|
|
|
|
Visual Studio .Net 2003 has VC++ 7.1
Steve
|
|
|
|
|
Wonder why I'm only running 7.0.2... I thought I had downloaded the updates properly... msdn should have them eh?
--
David Coley
http://www.codecipher.com
|
|
|
|
|
I just relooked at the version and it is "Microsoft Development Environment 7.1.3088" ("MS Visual Studio .NET Professional 2003 - English") and the "Microsoft .NET Framework 1.1" version is 1.1.4322 SP1
Steve
|
|
|
|
|
Thanks.
I just realized the issue myself:
Visual Studio 2002 .NET is 7.0.93
Visual Studio 2003 .NET is 7.1.xx
Visual Studio 2005 .NET is 8.0beta
Hope that helps people in the future.
--
David Coley
http://www.codecipher.com
|
|
|
|
|
Visual Studio 2005 have the version number of 8.0.
http://blog.joycode.com/jiangsheng
http://blog.csdn.net/jiangsheng
Command what is yours
Conquer what is not
---Kane
|
|
|
|
|
I'll add that Microsoft have been working like beavers to get thier C++ implimentation standards compliant. That's probably the reason for the version problem, although I thought the big jump was from 6.0 to 7.0.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
How do I trap the mouse click on a window created by the function capCreateCaptureWindow from vfw.h package?
thank for your help
LC
|
|
|
|
|
I want to detect which key was pressed. How do i check for f1,f2,...,f12 ,
print screen , num lock ,capslock, alt+255,ctrl+alt+del,any combination of alt / ctrl or shift as well. Please help me on it ?
|
|
|
|
|
|
Check this out and see if this helps
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_cwnd.3a3a.onkeyup.asp
|
|
|
|
|
From vc++ wizard, you can create OnKeyDown function.
|
|
|
|
|
i want to write a translator from English to a vernicular language. Any ideas as to how should go about going it?
my translator should be integrated with another application software, eg MS Word.
|
|
|
|
|
This[^] would be a good place to start. If you want to make use of an existing translation service from within your app, see my Google translator example in this[^] article.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Hello all,
I quick question .. I have been programming Windows Apps for some time, but heretofore have not had to display and allow selection (with the mouse) of simple graphics in a CView derived class.
It is standard for Windows Apps to allow the user to select a graphic (a line, a rectangle, ... ) with a left button click, and when so clicked, to display selection rectangles around the graphic. On a line, these selection rectangles (small filled rectangles) are typically on the end points.
I surmise that either MFC or the Windows API has already coded this functionality, but for the life of me, even tracing throuhg MSDN supplied sample code (such as drawcli), I can not determine how the system is alerted that this shape should display selection rectangles.
Can anyone enlighten me?
TIA
|
|
|
|
|
|
Hello,
Why is it that anytime I right-click on a local variable inside a function and select “go to definition”, it always replies “The symbol ____ is not defined.”? How can I get .net to allow me to browse local symbols? (It finds the global symbols just fine.)
thanks,
JennyP
|
|
|
|
|
Is there a way to add new rows to a MS FlexGrid in VC++ 6.0? If there is, then it will be a great help if someone can let me know how to do it.
log live the dEvIL
|
|
|
|