|
"Bit by bit". I'm sorry for being rude, but this is like asking "how do you build a car?" Although it is possible to formulate a decent answer, the question is too darn broad to cover all details.
Do you want some open-source solution that you can adapt to your needs? Do you need guidance on the programming itself? Or are you just looking for some easy examples?
If you're feeling totally lost, consider installing DotNetNuke
I are troll
|
|
|
|
|
Eddy Vluggen wrote: I are troll Smile
I think you may be feeding a troll on this one, a deliberatly stupid question asked in the most provocative terms.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I'll stop feeding then
I are troll
|
|
|
|
|
Hello all,
I have designed my own custom control with two panels one below the other. and a button and label on the top panel. Now i added that tool to my tool box successfully.But now if i want to drag a control for example button in to the 2nd panel present in my tool and i want to make that button as a child of that same tool but not as a seperate control,so that if we move the control the button should move along with the tool. but its not happenning. just the button is overlapping on the panel but not inserting in to the panel .
how can i do that. please help me fast its important for me.
Thanks & Regards
|
|
|
|
|
swathi.vng wrote: please help me fast its important for me
Just for you.
The panel is in the user control. So, you cannot add a control to it unless it is being exposed to the outer world through some means. I would suggest to expose a method that would add controls to youe Panel. This method can be called in the parent form to add controls.
|
|
|
|
|
Hi,
It's not totally clear to me if you are speaking of letting the second panel in your usercontrol act as an active design surface (i.e., one that can "capture" controls) at design-time or at run-time. I am assuming you mean design time.
On a similar topic : Leppie sent me this link[^], but I am using VS 2010 beta now and "ControlDesigner" does not even appear in the namespace "System.Windows.Forms.Design" as of right now. So I don't know if that's relevant to your issue or not.
The best coverage of design-time issues I have found is in Chapters 13 and 26 of Matthew McDonald's book "Pro Windows Forms 2.0."
best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
|
|
|
|
|
Yes, I am trying to convey the same. Thanks for helping me i want to make the second panel as active at deesign time so that it can capture other controls.
|
|
|
|
|
But the problem is when i am trying to implement the code given by you. It is showing that 'ControlDesigner' class needs some namespace or assembly but when i search for that i got that it is included in using Sysytem.web.UI;
when i am trying to include the same i found that sysytem.web doesn't contain a method UI.
can u please help me regarding this with a clear info..
Thanks and regards..
|
|
|
|
|
Hi Swathi.vng,
The response I just sent to Honey.rpk may be of interest to you :
http://www.codeproject.com/Messages/3099814/Re-How-to-make-a-control-as-a-child-to-user-control-but-not-for-a-form-modified.aspx[^]
I'm still not clear what's happening with VS 2010 beta and the ControlDesigner library not showing up, and I've reported that to MS.
best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
|
|
|
|
|
I confuse with AfxMessageBox and MessageBox,can anybody explain it.thanks!
|
|
|
|
|
MessageBox is a part of the .NET framework and behaves as described in the documentation[^]. The AfxMessageBox isn't part of the .NET framework; it's written by someone else. If you want to know specifics on the AfxMessageBox then you should contact the author thereof
I are troll
|
|
|
|
|
hi, everybody ! I'm a new windows programmer, I confuse how to start.
should i start with MFC or WIN32 API. Where can i find tutorial!
thanks!
|
|
|
|
|
Start here[^], it contains everything you need to get you started for development on Windows
I are troll
|
|
|
|
|
Hi,
i want to display greek characters in text box.
Thanks in advance
|
|
|
|
|
Hi All,
Am facing an unusual issue with some bitmaps that i`m loading dynamically.
The situation is that i`ve got a button on which I draw a bitmap dynamically
depending on whether the mouse has hovered over it, if it was previously clicked etc...
A tooltip is associated with this button and has ShowAlways = true. I also
set ToolTpActive = false and then true due to this fix suggested for a framework bug
(as given at
http://209.85.229.132/search?q=cache:nj6GSkFDwuIJ:stackoverflow.com/questions/559707/c-tooltip-will-not-re-appear-after-first-use+tooltip%2Bbug%2Bactive%2Bc%23&cd=3&hl=en&ct=clnk&gl=in
)
Now the issue is that sometimes when i`m working with other applications the bitmaps get
laoded partially and are clipped from the top (maybe upper 25% of it). My button size is the same
and i debugged to see if the bitmap gets loaded correctly, and it does.
I`ve seen this happening only with buttons that have a tooltip, and this button class is
used in 3 separate processes (running simult.) and all of them get clipped one after another.
I tried to comment out the SetToolTipText and ShowAlways parts of the code but it still occurs.
Has anyone come across such an issue earlier, that too happening across processes ?
Any help is most appreciated.
Thanks in advance.
|
|
|
|
|
Can anyone help with this issue? I normaly create an instance of a windows form with the following type of code:
private void btnAddPub_Click(object sender, EventArgs e)
{
AddPubForm newForm = new AddPubForm();
newForm.ShowDialog();
}
It has been working fine until I added a third windows form to my project. Now I can't get the telesense that allows you to get that class, so I'm assumming the program doesn't see this form.
I'm using a tabcontrol with three tab pages in my mainform, could that be the problem?
Could it have anything to do with tabindexes?
Thank you in advance
RAHEEM
|
|
|
|
|
Raheem Thaele wrote: I'm using a tabcontrol with three tab pages in my mainform, could that be the problem?
No
Raheem Thaele wrote: Could it have anything to do with tabindexes
No
Check the namespaces and the also the name of the class. Check for access modifier(private/public etc) as well.
|
|
|
|
|
d@nish I see what you are saying, I use modifiers, but in this case as soon as I try to run my code to create an instance of a third form from within the same form it doesn't see the third one and thus unable to show the dialog. Do you think it might also have a limit to the amount of form that can be created from a single form?
I've tried to google this on it's a bit tricky. Could this be a flaw in Visual Studio?
|
|
|
|
|
What are the namespaces for both the forms? Are they same? If not then you will have to give fully qualified name.
If you are using VS2008, then type in the name of the form class(in correct case), right click and select resolve.
|
|
|
|
|
The namespaces are the same. I'm using VS2005. I also thought the problem might also be the IsMdiContainer Form property, but is see that it can't be the case since I'm using newForm.ShowDialog() method not newForm.Show() method, so the form that is showing has to close so that I display other forms besides the main form.
I really appreciate the help, I'm still stuck though. Any ideas what I might try?
|
|
|
|
|
I have three different forms that I create instances of from a main form. The first two forms show, but the third one you can't even see the telesense and the main form class cannot see it.
Could there be a limit to the ammount of form classed you can call from a form class?
|
|
|
|
|
Raheem Thaele wrote: Could there be a limit to the ammount of form classed you can call from a form class?
Quote Selected Text
Yes, but it is way, way more than three.
BTW: It is intellisense, not telesense or tellysense.
When you build your solution, does the 'missing' form compile? If it doesn't it will not show up in intellisense.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
hi, everybody! what's the difference between hInstance on WNDCLASS and
hInstance on CreateWindow;
|
|
|
|
|
Read the documentation and if you still don't understand explain why in terms of the documentation.
WNDCLASS[^]
CreateWindowEx[^]
|
|
|
|
|
can you give me a example to explain!thanks!
|
|
|
|