|
|
Can anyone point me to some links about creating tab controls under Win 32. I have gotten as for as putting one on a dialog box, setting all the tabs, now I am stuck on the actual content of the tabs. Am I right in thinking that I can just create the content with the resource editor (a bunch of dialogs) and then place them over the main dialog at the appropriate time? Even if I am right, I have no I idea how to do this? Thanks...
|
|
|
|
|
If you are being pure SDK, then you need to look in the
Platform SDK\User Interface Services\Windows Common Controls\Tab Controls
for all the info in the Tab control.
You can send TCM_INSERTITEM messages, or use the TabCtrl_InsertItem (which ends up the same) as
you wish. You also need to keep an eye out for TCN_SELCHANGE notifications...
I hope that helped,
Iain.
|
|
|
|
|
Hi, I have looked at the SDK documentation and I have inserted all the tabs I want. Now I am stuck at the second step which is adding the content of tab. I have made the associated dialogs for each tab but what I don't know is how to put them on the dialog. I have used FindResourse/LoadResource/LockResource as is explained in the SDK documentation. Is it the SetWindowPos() function that actually displays each dialog? If so the first parameter require a handle to a window. I don't know how to get the HWND of the dialog resource. For my other dialogs I have used GetDlgItem() (the ones which don't have a tab control) to get a handle but for these one since they are not directly associated with the dialog can I still use the current dialog as the parent and follow the same procedure? I think I have confused you! Thanks for the help.
|
|
|
|
|
Hi,
I'm looking for instructions on how to display a wizard using CPropertySheetEx stored in a DLL from an SDI application. I've successfully made the wizard display in its own dialog based application, but when I stored the files in a DLL and tried to display the dialog (I exported the whole class) from my SDI app, I got a variety of memory leaks, an assertion failure, and a few other errors.
Please help, thanks in advance.
-- Joe
|
|
|
|
|
So do I.
Did you ever work out how to fix it?
|
|
|
|
|
Hi
i was asked in this Site about Drag-n-Drop some objects. mr christian told me that using some windows (CWnd objects) to manage the Bitmaps are one of the best way. about 1 week i work on my project using these CWnd objects.my project is Some kind of AVL tree, in my project all of the Nodes are connect to each other. when u Drag a node ,each Node that connected to that node will move.
my problem is when the number of windows become more than 12 or 13 the moving will become VERY VERY SLOW, and FlickerFul.(i think the reason is CWnd objects get lot's of memory) i based my program on CWnds and it seems that there is no way back.
tell me if there is a way to modify the project to solve this.
it seems that using windows to manage Bitmaps is not a UseFul Way. how can i moving Some Bitmaps in the main window?
thanks a Lot
|
|
|
|
|
Drag and drop is usually done with artifical objects CERTAINLY NOT CWNDS!
Look at the DrawCli example in MSDN.
|
|
|
|
|
thanks for your answer
plz can u breifly tell me what the artifical objects is ?
thanks any way
|
|
|
|
|
Hi
I was working on ActiveX object and wanted to kill an instance and start another.
Why can't i do this?
Thanks for your reply.
Yogi
|
|
|
|
|
i want to send some messages programatically to all computers of the network using
some socket programming and a perticuler port say (999).
is it possible that i send this message using broadcaste ip like 192.168.0.255:999.
when i use this command on command prompt then it sends message on all computers of the network
------------------------
net send * some message
------------------------
in the above command what does * means?
what is the value of this ip address is?
r00d0034@yahoo.com
|
|
|
|
|
I would venture to say * is simply a wildcard for the machines on your network. Much like doing: dir *.txt If you are sending a popup message for server maintenance purposes, then the * should get to all the users authenticated by the server you're working on. (i think) There are some net send utilities out there that let you do more much easier than the command prompt.
Note: However, if you are considering mass SPAM via winpopup... *lights the flame thrower*
- Nitron
"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
|
|
|
|
|
Where I can download Xtreme toolkit retail version, or delete nag screens from my program wich I made using evalution version.
|
|
|
|
|
LOL...
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
-Reality- wrote:
Where I can download Xtreme toolkit retail version, or delete nag screens from my program wich I made using evalution version.
Eh.. I presume you can download it from teh same website you got the evaluation copy from, after you've paid for it of course.
Regards,
Brian Dela
|
|
|
|
|
Is he serious?
Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity.
-General George S. Patton
|
|
|
|
|
i want to get the ip address of all computers on a network
that have this broadcast address 255.255.255.0.
is there any method or tecnique available available to get that ?
if i have to send a message to all computers on a network through
a net send command what ip address i have to mentation ?
i have two computers that have these ip addresses 192.168.0.1
and second one is this 192.168.0.96.
because when i do this on command prompt this appears.
D:\Documents and Settings\super>net send 255.255.255.0 hell
An error occurred while sending a message to 255.255.255.0.
The message alias could not be found on the network.
More help is available by typing NET HELPMSG 2273.
D:\Documents and Settings\super>net helpmsg 2273
The message alias could not be found on the network.
EXPLANATION
This message alias could not be located.
ACTION
Check the spelling of the message alias. If it is correct, then the computer tha
t is to receive your message may be busy. Try sending the message again later.
r00d0034@yahoo.com
|
|
|
|
|
see my reply above.
- Nitron
"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
|
|
|
|
|
Hi, I need to set the maximum speed of network card programatically, eg. when my program is running on machine with 100mbps network card, I need to set it's maximum speed to 10mbps.
Any suggestion helps much.
Standa.
|
|
|
|
|
s_k wrote:
when my program is running on machine with 100mbps network card, I need to set it's maximum speed to 10mbps.
Why would you want to do this? Most 100Mbps NICs are auto-negotiate. That is, if the server or target machine only runs 10Mbps or your router or hub is only 10Mbps, then the NIC will only negotiate 10Mbps on the hardware abstraction layer with no intervention from the OS, let alone your program.
Now, if you are writing some proprietary device driver for an ethernet coffee machine or something and really need to do this, then I must admit I am out of my league.
- Nitron
"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
|
|
|
|
|
I admit it sounds strange, but I've FTP server that is too fast for weak machine (max. 32 MB RAM) with Win9x and on fast (at least 100mbps) LAN. The only thing that helps is to slow down the receiving/sending of data (to 10mbps).
Hope you grasped
|
|
|
|
|
Are you saying that the FTP program is consuming too many resources that you wish to use? If so, you might try lowering the priority of the FTP server. Then it won't consume CPU resources while you wish to use the machine.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
It may help as well, but not sure if it is 100% solution...
|
|
|
|
|
s_k wrote:
It may help as well, but not sure if it is 100% solution...
Well, you can always upgrade the machine A nice P4 with a gig of ram or two should suffice...
- Nitron
"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
|
|
|
|
|
Well, such a machine I've at home, but it's commercial product and MUST be compatible even with the worst sh**s..;)
|
|
|
|