|
you can put the image in to a dialog box and move the entire dialog from bottom to top by MoveWindow()
or move the position of the Image Control..
Renjith The CPian
|
|
|
|
|
If you're looking for a facility for credits displaying, you might want to have a look at Pål K. Tønder's Scrolling credits using CStatic.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Hi,
I'm working with a dialog based application.Is there any method for showing the directories, folders,sub folders and all the files contained them in a single combo box just like a tree view control.
Can anyone help me?.
With regards
Shibu K.V.
Senior Research Associate.
VLSI ASIC Hardware Design Group
Electronics R&D Centre,Trivandrum
India
|
|
|
|
|
|
NISHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
theapp COMPANYYYYYY
TECHNOPARK TRIVANDRUM ???????
MAIL CHEYYEDEY ENTHAADEEEY JAAAAADAAAA??? NJAN PALA TIME MAIL CHEYTHU ENNITTUM ENTHEY ORU JAADAA?????
R_Renjith The CPian
|
|
|
|
|
Sorry, but I don't entertain personal mails! I usually delete all such mails as I seem to get too many of them. You work in Technopark too?
Nish
Author of the romantic comedy
Summer Love and Some more Cricket [New Win]
|
|
|
|
|
Hi,
can any one tell me about the implementation of RS-485
and also about the difference btw full duplex and half duplex
if example is provided it would be of great help
thanks
Uday
|
|
|
|
|
I can tell you about the basics. RS-485 works by voltage differential. Their are two lines which are either +ve or -ve depending on whether a 1 or a 0 is being transmitted. These lines are labelled A and B.
So a 0 = A+, B-
a 1 = A-, B+
(or visa-versa)
Also, many devices can be on an RS-485 bus at a time. They need to use some kind of communication protocol to decide when they want to transmit on the bus. Any number of devices can listen, but only 1 can transmit at a time or you get garbled communication. Typiclly, you have 1 master device which initiates all transmissions, and then the other devices reply to the message, but they have to do so in a set time frame. DOnt forget to use checksums etc if needed to avoid bad messages.
Full-duplex/Half duplex.
In one of these modes you also receive in your input buffer what you send, in the other you do not. I forget which way round it is.
Hope this info helps.
Roger Allen
Sonork 100.10016
If I had a quote, it would be a very good one.
|
|
|
|
|
Roger Allen wrote:
Full-duplex/Half duplex.
In one of these modes you also receive in your input buffer what you send, in the other you do not. I forget which way round it is.
Are you not getting confused with "loop back"?
Full-duplex means that both transmission and reception of data can occur simultaneously.
Half-duplex means that only transmission or reception can take place at any one time.
There is also a form of communication called Simplex which means that only transmission or reception ever occur.
Free
|
|
|
|
|
FreeLancer wrote:
Are you not getting confused with "loop back"?
Hmmm, maybe. I am going by the driver stuff installed for the RS-485 card in my PC. It can have a half/full duplex mode. Your probably right. Its been a long time since I looked at it*.
* Need to get my memory chips upgraded - finally I may have 2K!
Roger Allen
Sonork 100.10016
If I had a quote, it would be a very good one.
|
|
|
|
|
Hi.
I am making a program in Visual studio 6.0
and I am currently having trouble telling when a thread has ended.
Does anyone know how one can tell when a thread has ended?
|
|
|
|
|
One way is to use a CEvent and signal it when the thread function ends. You can then test this event wherever you need to know if the thread has finished.
Neville Franks, Author of ED for Windows. www.getsoft.com
|
|
|
|
|
|
Thank you both of you for your replies. It was very useful for me
|
|
|
|
|
Hi,
does anybody know, how to create CHtmlView which would be using system independant proxy settings ? I need to use another HTTP proxy in my application, but not change IE proxy settings for whole system.
Thanks
rrrado
|
|
|
|
|
Does anyone know why the NM_RETURN message never works in list controls as it's supposed to?
I create a simple test app using the app wizard with a single form view, plopped on a list control. Then I use the class wizard to hook in the NM_RETURN message to a message handler and set a breakpoint there. Now running the app, clicking on the list control to make sure it has focus, and then hitting the enter key does not hit the breakpoint!
Any ideas?
(I also tried NM_CLICK, but that work no problem)
Much thankx!
swinefeaster
Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
|
|
|
|
|
|
Thanks, but that's no good as I want to trap the event when the user hits the ENTER key. lbuttondown is easy...
swine
Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
|
|
|
|
|
Is there a way to get the physical disk number from a logical drive letter?
For example, there are 3 hard disk drives:
IDE 0 Master - the first HDD, containing C:, D: and E: logical drives
IDE 1 Master - the second disk, containing F: and G:
IDE 0 Slave - the third disk, containing H:.
For example I want to determine the physical disk, on which drive F: is located. This should be the Master HDD on IDE 1.
Thanks!
|
|
|
|
|
|
GetDriveType() returns DRIVE_FIXED for all the the logic volumes in the system, because all of them belong to the fixed drives. It doesn't work for me
|
|
|
|
|
unsigned short a;
unsigned long b;
b = 0x987666;
a = b;
Hi! I am using VC6.0, and I notice sometimes the compiler give me the following warning message for the code above, "warning C4244: '=' : conversion from 'unsigned long' to 'unsigned short', possible loss of data",
sometimes(mostly when I added another project to workspace), it gives me nothing even I rebuild all files in the same project, and I can never recover the warning message after I lost it.
Can anybody tell me how to let compiler generate warning messages all the time?
|
|
|
|
|
The project that reports that warning has the "Warning level" set to 4, at other times you must have the "Warning level" set to lower value, the most common being 3.
Open the project goto the Project -> settings on the menu, select the C/C++ Tab, and use the "Warning level" combo-box to set it back to 4 again.
|
|
|
|
|
Thanks!
With the 'Warning level' set to 4, I got the 'type conversion' warning message back plus tons of other warnings.
But surprisingly, in my previous project, the warning level is 3, and I can get some of the 'type conversion' warnings as well, but much less than level 4.
|
|
|
|
|
hi,
i have done word automation using vc++.i am getting the details from the
database and filling the data in the table created programatically by word automation.
i was able to generate the report.But it is taking time(5 minutes for a 35 records)
can any one suggest some steps to increase the speed of generation of reports
using word automation
with reg
magesh
|
|
|
|