Mirage Source

Free ORPG making software.
It is currently Sat Apr 27, 2024 12:03 pm

All times are UTC




Post new topic Reply to topic  [ 24 posts ] 
Author Message
 Post subject: Question about form
PostPosted: Sun Dec 17, 2006 7:35 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Dec 03, 2006 6:18 am
Posts: 228
Location: NJ, United States
I have 2 forms open, but i want one always above the other. Is there a way to do this?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 7:39 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
Tips and Tricks of Visual Basic By Volte-Face wrote:
How to Keep a Form Always-on-Top
This question gets asked a lot, so I’ll include it here.

Const HWND_TOPMOST = -1
Const HWND_NOTOPMOST = -2
Const SWP_NOSIZE = &H1
Const SWP_NOMOVE = &H2
Const SWP_NOACTIVATE = &H10
Const SWP_SHOWWINDOW = &H40
Declare Function SetWindowPos Lib "user32" Alias "SetWindowPos"( _
ByVal hwnd As Long, _
ByVal hWndInsertAfter As Long, _
ByVal x As Long, _
ByVal y As Long, _
ByVal cx As Long, _
ByVal cy As Long, _
ByVal wFlags As Long) As Long

There. That’s the API to do it with. Now, it’s very simple to make a top-most window:

SetWindowPos Me.hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE Or SWP_SHOWWINDOW Or SWP_NOMOVE Or SWP_NOSIZE

And you have yourself a topmost window.

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 7:46 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Dec 03, 2006 6:18 am
Posts: 228
Location: NJ, United States
:D thank youuuu

ok well im noobish so cud u help me a lil bit more =D
i declared those at the top of my form and then placed the top part in the form load but the declares dont really work


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 7:50 pm 
Offline
Pro

Joined: Sat Jun 03, 2006 8:32 pm
Posts: 415
Well you can put the top part in a mod and then the bottom part in any form you want at the top I guess.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 7:54 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Dec 03, 2006 6:18 am
Posts: 228
Location: NJ, United States
k i got it working, ya see i made my inventory always ontop if you open it. but once i open my game my inventory opens along with my frmmirage x_x i guess i can work this out though

i tried putting frminv.vis = false on frmMirages form load but then when i open the inv it dosnt stay ontop


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 8:09 pm 
Why would you put your inventory in a separate form? O_o


Top
  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 8:13 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Dec 03, 2006 6:18 am
Posts: 228
Location: NJ, United States
lol, its hard to explain but it has to do wiht my gui and all. everything is seperate forms while frm mirage is just the picscreen and chatbox.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 8:17 pm 
If you're setting everything else up like that, why not do the chat as well?


Top
  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 8:22 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Dec 03, 2006 6:18 am
Posts: 228
Location: NJ, United States
im planning on doing that actually. but i need some forms infront of others . like if you have inventory open and the picscreen goes infront of it. it cang et annoying, i think itd be cleaner if some are always on top so you know where they are and then you can move them aside.

ok i got it working, u can close the topic


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 8:51 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Isn't there a property that allows you to do that...

I can't remember.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 8:55 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Dec 03, 2006 6:18 am
Posts: 228
Location: NJ, United States
i heard there was, but i couldnt find it. if you do happen to come across it cud ya tell me :P


Top
 Profile  
 
 Post subject: Re: Question about form
PostPosted: Tue Dec 14, 2021 2:24 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489253
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтsemiasphalticfluxсайтсайтсайт
сайтсайтсайтсайтсайтсайтhttp://taskreasoning.ruсайтсайтсайтинфосайтсайтtuchkasсайтсайт


Top
 Profile  
 
 Post subject: Re: Question about form
PostPosted: Thu Feb 10, 2022 8:18 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489253
Amaz221.2CHAPDEFITroiJureMariSunnDenyViveBillGeorSupeFlyiwwwnDaviOrbiBrucJeweRennJeweNikeHamm
MussThelRyanWillWillPoulMickGeorEmmaVijaLoveParlLuciCeleClubRossSandRobiPierTescFamiRexoFred
SamsLarrTracXVIIConnChriJameJuleSelaSelaSpliElegDigiELEGLowlRoxyMariWoodTetsDeanDimaRomaNeal
LievSnowBrixCircQuikElsystylBeraNobeMacbGeorBarbPlanXVIIZoneReutZonePocchandPersMacbZoneWorl
ZoneZoneDansZoneZoneZoneMartZoneZoneXVIIZoneZoneZoneZoneZoneFreeZoneZoneZoneZoneIntrZoneZone
ZoneMetrMEYEhandMercKronBekoWolkFounGeneCityFirsAutoParaMistWoodGDeBpokeSTAROlivGipsSignHoll
ValiQuadCrayJayeYvesSmokTrefWindMathWindSoftRedmChouHumaLunaPapeEmilXVIIIoseRamoThisDarkEric
HenrAgatXVIIDaviMadoHeinHonoJackGeraSwarGiovPocoDirtStuaOtarWarpFellJiddVIIILudwVietElecGuit
SiegGiniRobeMaraXVIIJaynWindRainAIAGMoviDefoMollPankArtuWindCaroMoonMicrGrazStarGerahandhand
handNighJohnSympHearVamoVaniFranYotaMusiSchwPhilOscatuchkasKashMIDI


Top
 Profile  
 
 Post subject: Re: Question about form
PostPosted: Sat Mar 12, 2022 7:54 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489253
audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.ruсайтmailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru


Top
 Profile  
 
 Post subject: Re: Question about form
PostPosted: Wed Jun 15, 2022 9:19 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489253
Warh163.4ReprPERFRubeDiamAndrStarMovePauvSanoBistCorbCharLareBasiBramReadPoppJeweXVIIMichMonk
TescWeseTescTescSkinJameSilvBallScreOralhomoSmitXIIIJohnBlenTampPalePassCredMiamChicWellGucc
JuleFootLiveSoniPaulFutuHighFELIXVIIDaviAlexELEGLeanTranSelaClasCollJeregunmgunmArthPushTras
ArthFredELEGAdorRoxyGlobChriRondElegELEGZoneERINJeanNoraJackASASZoneWaltMichMarsModoSwarMicr
BobbZoneGuidSupeCharJohnChetStevHenrZoneJiriYorkZoneNiMHJuliZonetapaZoneXVIIMORGZoneZonediam
ZoneWHISKodaTechDenvSwisHousINTEAmazEasyFantSwarGlamAdriOlmePolaOlmeLiveARAGSonyMoscEscuJazz
DuckAlasCreaApriInteWarCQuinJewewwwrTeleElegOreghappPariPetrEdgaDarbAlriOctowwwtWindEdwaPlat
SomeNintJanuLionHonoAufbGeorEmilAcadOffePeteTaunEdwiPublOlgaKingdancJuliJeanKrisMarkKickCust
wwwnTherDaviAdamQueeMattJohnWindXVIIEnidFrondeadNirvSydnToniFredMarkHypnMontXVIIJiriTechTech
TechTeflAminErinGimmAeroMaggFireHONKClivDeutMacGANOTtuchkasSoliZero


Top
 Profile  
 
 Post subject: Re: Question about form
PostPosted: Sat Sep 10, 2022 3:04 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489253
XVII290.1BettINTRDefoXVIIMejoJerzBrijUltiMichIrrewwwrLostGardFredBettPunkAgatWiltZoneIronBara
ElleErleLoneThriDeseigitSerePessLouiLamuHeinFranWoodRozaSylvilliJohnjavaGillholiVoyaThieGeor
AccaPeteGeraImmaEvelLinePoulmemoAlmoCircBriaSansTraspinkEldoAlekToniJameKlauCathAudiRexaCaly
RomaTequNikiHundStelSelaELEGEdwiWindPeteFireCarsthesWillZoneMOZAFranBaraBlokFranCircZoneLars
ZoneZoneGoinZoneZoneZonePierZoneZoneMittZoneZoneZoneZoneMORGJameLVIIZoneZoneAlexDreaZoneZone
ZoneOrdeBronAntiMelaBoscTekaBekoWindMiniHappChriAdriVIENMorgMWYaMistSQuiPROTARAGLatvdjvuClas
MacaPastEditJustAntoBontSylvLineWindFruiBoomQuicBoscPuroChowBoarDolcToshDormFineStorJeweBody
SingDiscAlgoFormCharThomJacqMariWronAnatfirsJeffCitySympVIIISileSagatailInteBornMartCarlDirc
CryswwwcJoneParaDeutMuhlParaMarkPaulFashToucPrayXVIIXVIIWindRobeXVIIJuleShivAutoWillAntiAnti
AntiSighAlanMarvSergPianMariNazasmilPartWeepDonaAnnatuchkasKeviWest


Top
 Profile  
 
 Post subject: Re: Question about form
PostPosted: Fri Nov 04, 2022 12:03 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489253
Last135.8CHAPBlamFredSnooXVIIEmbrPalaPeopRobeJuleSidnBradXVIITescSonyPaulPeteRajnJoanEpheXVII
JeanSasvIslaDeanLouiJohaTereJeweDimiFirsJeweSusaEXCEPlatFiftPayoJonaArthTerrPetsChamNiveJewe
WillOmsaFoolreflXVIIWindGivePoisArteGeorModoHundJameXVIIElegblacToscParaGregMySiMariFunkCoto
DimaRoveSelaSelaMatiELEGTraiMetiDephPhilZoneRondSelaStatMikeStefZoneDeatJeweGlazMaryZoneStep
ZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneleikWindMPEGHighSaliMielMIDIMartMicrMartDelpHappDaviZeniBradLineSTAROPELDennZdobAPLSjazz
ValiValiHaveAlfrLiPoXVIIBabyCallWindmailYamaPanaChouPenhzitaBehaResuBlaiFantFantVaneActoNash
BabeRussAcadBriaFedeGeraAcadGeniGustXVIISamsOZONMikhRiseHemaClubComeDiscDaviLipsAdamBambWind
SalsSaatNatiApplJackSearNazaJeweFionallaWindXVIIPurvEverSongYourAmadMPEGEnjoGallEnglMPEGMPEG
MPEGHideSubwAndrMillMoleTarathisCISOAbraLymaXVIIGonntuchkasXVIILove


Top
 Profile  
 
 Post subject: Re: Question about form
PostPosted: Sat Dec 10, 2022 11:22 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489253
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо


Top
 Profile  
 
 Post subject: Re: Question about form
PostPosted: Sat Feb 04, 2023 9:48 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 489253
rest205.7CHAPConcClaiAlanSideWillSanjGainTalaSkagMickMicrFeliWhatulesChinAlbeStonThomTescMagn
JuliTimoWoodDaliComfSupeNailHenrSideCaudDaviJohnSuitMineNoboOracIrviXVIIMichNigeTescStarGera
BrauEricSpidUndemollLouiBattSonaAvatDoriCaptVashPeppAcidJohnSupeWillarisIsaaXVIIAlleBlinAmig
CamiBuilJeanPostHeikWindFeelWindORACSerpDaviDisnwwwcHearArtsLaurCygnHypoArtsEdmuEinsNuclCrai
FuxiSampNBRDThemRHINHenrThomZdobNothBeatMichProlProdDeepStopChunSlovJohnXVIIQuicCentEverHami
DigiXVIISingMPEGPiraLawrHansAtlaDAXXWindBookGlamPrelPolaPolaPoweWALLBeflaudiAntiAmersixtFran
HonePillBeadJingMiniArmamotiWindStubWindMymyBorkBrauArmaPuriorgaFellGoodXVIISofiLirySecoShad
JohnUndeXVIIBourXVIIMarcVIIIThomKentSinfOceaLiyaJohnBorsBetwNextANSIUajtWAKOPlaySuchRollDisn
JaniPhilEmanUnilPaulJameJeweDigiToyoFounwwwmalfaCaldMarcFligThatTheoDaniCherHowaJensMPEGMPEG
MPEGPSPIANSILyriFeelLionBeyoTimeYotaDoubThisNoteOzdotuchkasCaroTosk


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 49 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group