473,394 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Attached Window Properties Help

Hey Peeps,

I have written a statistics program and am trying to design the layout
so that the results are in a window that can be hidden via a toggle
button (like in the send/recieve box in MSOutlook). If anyone knows
how to do this that would be great :-).

If i can't get a dropdown window as described above then i'd like to
be able to make the attached window (see below code) to totally cover
up the previous one as currently the windows are cascading within the
defined frame. Does anyone know fix or get round this.

If you don't know exactly what i mean then please ask and i'll fill in
the gaps

int main()
{
winio("%ca[Statistics & Numerical Methods Engine]&");
//winio("%ww[casts_shadow]&");
winio("%cv&", &com);
winio("%`cnPlease type in the data seperated by commas (,)
below\n&");
winio("%rs\n&", man_input, 30);
winio("%`^bt[calculate]\t%bt@\n&", calculate, exit);
winio("%fr", 280, 400);
}
..
..
..
void output()
{
int i;

winio("%aw%sp&", &com, 0 , 0);
winio("%ww[no_caption]%lw&", &results);
winio("\nMin = %`rf&", &min);
winio("\nMax = %`rf&", &max);
winio("\nSum = %.2wf&", sum);
winio("\nArithmetic Mean = %.2wf&", arithmetic_mean);
winio("\nGeometric Mean = %.2wf&", geo_mean);
winio("\nHarmonic Mean = %.2wf&", harmonic_mean);
winio("\nRange = %.2wf&", range);
winio("\nSemi-Interquartile Range = %.2wf&", semi_inter_range);

if(mode_na > 1)
{
winio("\nMode = &");

for(i=0 ; i<mode_na ; i++)
{
winio("%.2wf,&", mode_val[i]);
}

winio("(Multimodal Data)&");
}
else
{
winio("\nMode = %.2wf&", mode);
}
winio("\nMedian = %.2wf&", median);
winio("\nMax Deviation = %.2wf&", max_deviation);
winio("\nMean Deviation = %.2wf&", mean_dev);
winio("\nMedian Deviation = %.2wf&", median_dev);
winio("\nMode Deviation= %.2wf&", mode_dev);
winio("\nPopulation Variance = %.2wf&", pop_variance);
winio("\nSample Variance = %.2wf&", samp_variance);
winio("\nPopulation Standard Deviation = %.2wf&", pop_stand_dev);
winio("\nSample Standard Deviation = %.2wf", samp_stand_dev);
}

Thanks in advance

Adam Thickett
Jul 22 '05 #1
1 1011

"Adam Thickett" <vi***********@hotmail.com> wrote in message
news:a4**************************@posting.google.c om...
Hey Peeps,

I have written a statistics program and am trying to design the layout
so that the results are in a window that can be hidden via a toggle
button (like in the send/recieve box in MSOutlook). If anyone knows
how to do this that would be great :-).

If i can't get a dropdown window as described above then i'd like to
be able to make the attached window (see below code) to totally cover
up the previous one as currently the windows are cascading within the
defined frame. Does anyone know fix or get round this.


[snip]

You have come to completely the wrong place.
http://www.slack.net/~shiva/welcome.txt

DW

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Manfred Braun | last post by:
Hi All, I am writing a tool, which should monitor some exe-processes, which are not very solid. Th main function is to re-start them, if they hung, but this is complicated. I can detect things...
3
by: Rob Richardson | last post by:
Greetings! I have never understood how to make docking windows do what I want them to. I now have two instances of VB.Net running. In the main one, I have the main code window in the upper...
1
by: Li Pang | last post by:
Hi, I receive daily an email with a attached file from my Outlook inbox. This file must be saved into a specific location manually. I made an app to automate this process. My app can read the...
26
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized...
2
by: Evgeny | last post by:
Suddenly Properties Window is disappeared in IDE of VS 2005. Click on F4 or View\Properties Window does not help. It is very annoyed. Could somebody help me? Thank you Evgeny Additional details:...
0
by: mpar16 | last post by:
Hi i needed help me to retrieve properties of a control, i got a scenario to read all available properties and its current assigned values for different controls in project. i tried with...
0
by: afterwave | last post by:
Hi, When are the properties that I set in the properties window used in my application? I have a class that does som plotting. One property in the class is XMax. XMax is set to 10 in the class...
24
by: Jeremy J Starcher | last post by:
While reading c.l.j, I've noticed that some people prefer and indeed even recommend the use of "window.alert()" over "alert()". I can't find any technical reason to make this distinction, and...
2
by: wolverine | last post by:
Hi All, In Mozilla Firefox, to onblur and onfocus event of each and every html element, the browser itself will attach a native event handler. I mean if you type,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.