Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Sunny2

  1. Sunny2

    Random Number Generator with Standard Deviation and Mean

    Hello, I am just wondering if there is any built in funtion for generating random number given the "mean and the standard deviation"? Like if you have a zero-mean Gaussian white noise with a standard deviation of 1. If anyone know of any function, that would be great, I am sure there should...
  2. Sunny2

    Is there a special function for Absolute Value of a Vector

    yes, you are rite Ion. Thanks again. Sunny
  3. Sunny2

    Is there a special function for Absolute Value of a Vector

    Hello guys, Thanks for your reply, but I just founda special function to do that. you could simply use the hypot function. for example: hypot(x,y); will give you the hypotenuse of that vector. well, anyways, Thanks again. Sunny
  4. Sunny2

    Is there a special function for Absolute Value of a Vector

    Hi guys, I am just wondering if there is any special function to find the absolute value of a vector. I have the x coordinate and the y coordinate. I dont' want to be finding the sqrt of the x and y terms allt he time, I am sure there is a function, but if you guys know, that would be a great...
  5. Sunny2

    CTreeCtrl and CEdit Box?

    Hello guys, I wanted to make a tree control, and I have done that. Then I wanted to put a button and each time the user clicks the button I wanted it to put a root on the tree with a default name. I have done that also. Now, I want to put an edit box, which I have done already. 1. I...
  6. Sunny2

    Did anybody use Objective Toolkit?????

    Hi there, If you have used objective toolkit or have it. Well, I am trying to learn it and I am going through the Userguide for it. Well, there is an example for browse button. and I been trying to figure out how to do this for the last two days. and I dont' get what I am doing wrong. This is...
  7. Sunny2

    Help on MDI: viewing two child windows at startup???

    Could Somebody Help??????
  8. Sunny2

    Help on MDI: viewing two child windows at startup???

    Hello Obislavu, I am confused, I am just learning VC++. Well, I have this standard MDI with the default settings. Well, I understand that the ChildFrame is derived CMDIChildWnd. This is what I have for my ChildFrm.h file: class CChildFrame : public CMDIChildWnd {...
  9. Sunny2

    Help on MDI: viewing two child windows at startup???

    Hi I need help with creating a MDI application using MFC. Well, if you create a MDI application on MFC, when the application starts you get one child window opened at start up. What I want is I want two child forms open at the same time. If anybody knows how to do that, that would be great...
  10. Sunny2

    Help with double pointers

    Hi..I am confused with this double pointer stuff...could somebody explain please... Well, I have this typedef structure: typedef struct { int scan_number; int num_returns; float min_time; float max_time; Measurement *measurements; //another typedef Structure } MeasurementFrame; typedef...
  11. Sunny2

    Toolbar Event Handler problem HELP????

    Could anybody help meeee????? pleaseeeeee
  12. Sunny2

    Toolbar Event Handler problem HELP????

    I guess nobody replied for my solution yet. Well, this is what I have found so far. I closed my whole application and then opened it again and checked what the ID for the submenu item(Circle) and found that it's 32771, I tried to change that to ID_DRAW_CIRCLE and save it and checked to add the...
  13. Sunny2

    Toolbar Event Handler problem HELP????

    Hello guys, Well, I am just trying to learn VC++.net. I ran into this small trouble, which doesn't make sense for me... I created a MDI application(using MFC) with the default. Well, I just wanted to learn how to create my own tool bar, so I just deleted what ever MFC gave me and created a...
  14. Sunny2

    Help with MAKEINTRESOURCE/ creating Menu?Please help!!!

    Thanks Bones, you are right, I didn't include resource header file in my source file. Thanks Sunny
  15. Sunny2

    Help with MAKEINTRESOURCE/ creating Menu?Please help!!!

    Hi..I am trying to learn VC++.NET. Well, I am trying to create this Main Menu using Win32. This is the code that I have... #include <afxwin.h> class CResFrame : public CFrameWnd { public: CResFrame() { Create(NULL, &quot;Resources Fundamentals&quot;, WS_OVERLAPPEDWINDOW...

Part and Inventory Search

Back
Top